Skip to content

mjacobus/predios

Repository files navigation

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published