Rails Contact Tracking
Try out the Demo
Runnig Locally With Docker
Building Rails Image
docker build rails/Lifting docker containers in detached mode (that way we can have a clean terminal)
docker-compose up -dEntering the rails container environment
docker-compose exec rails bashNavigate to app folder
cd app
Install dependencies
bundle install
In config/database.yml set up your local IP addres on host, database name, username and password, those database credentials are already configured in the docker-compose.yml, so no need to worry about it.
development:
host: 192.168.1.10
adapter: postgresql
encoding: unicode
database: rails
pool: 5
username: rails
password: railsRun migrations
rails db:migrateRun tests
rails testRun the local server
rails serverRunnig Locally Without Docker
Install dependencies
bundle install
In config/database.yml set up your local IP addres on host, database name, username and password
development:
host: 192.168.1.10
adapter: postgresql
encoding: unicode
database: rails
pool: 5
username: rails
password: railsRun migrations
rails db:migrateRun tests
rails testRun the local server
rails serverOn this page
Languages
Ruby75.4%HTML20.5%JavaScript2.6%CSS1.6%
Contributors
Created May 25, 2017
Updated May 25, 2017