mjacobus / predios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Ruby 71.7%Language:JavaScript 24.7%Language:HTML 2.8%Language:Sass 0.6%Language:Shell 0.2%