Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.61 KB

README.md

File metadata and controls

68 lines (42 loc) · 1.61 KB

Predios

Assistant for a special territory in my city.

Build Status Maintainability Coverage Status

Setup

Link the sample files. If you need to change, copy it instead

ln -s env.development.sample env.development
ln -s env.test.sample env.test

# or

cp env.development.sample env.development
cp env.test.sample env.test

How to run tests:

% bundle exec rspec

How to run the development console:

% bundle exec hanami console

How to run the development server:

% bunlde exec hanami server

# or, if you are offline need cdn files to be local

% LOCLAL_ASSETS=true bundle exec hanami server

How to prepare (create and migrate) DB for development and test environments:

% bundle exec hanami db prepare

% HANAMI_ENV=test bundle exec hanami db prepare

Explore Hanami guides, API docs, or jump in chat for help. Enjoy! 🌸

Tools

Tips

Dotenv loading

Hanami first loads env, and then .env.{environment}. First to set env wins