This application requires:
- Ruby 2.4.1
- Rails 5.0.2
Learn more about Installing Rails.
- Install Docker
- Run
docker-componse -p houseapp up -d
to start docker containers - Run
docker-componse -p houseapp down
to stop docker containers - Execute
docker exec -it houseapp_app_1 bash
to open bash console- Execute
rake db:migrate
to migrate DB - Execute
rake swagger:docs
to generate api docs
- Execute
- Path:
- Rails app:
http://localhost:3000
- Admin:
http://localhost:3000/admin
- API Docs:
http://localhost:3000/api_docs
- PgAdmin:
http://localhost:5050
- Rails app:
- Use heroku
Vu Huan (huanvn@gmail.com)