deploy
deploy
Your description here
Installation
Create a pg database called demo
and configure the config/database.yml
to provide the credentials to access the table.
Then:
shards update
amber migrate up
Usage
To run the demo:
crystal build src/deploy.cr
./deploy
Docker and Docker Compose
This will start an instance of postgres, migrate the database, run the specs, and launch the site at http://localhost:3000
docker-compose up -d
To view the logs:
docker-compose logs -f
Note: The Docker images are compatible with Heroku.
Contributing
- Fork it ( https://github.com/[your-github-name]/your_project/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- your_github_name your_name - creator, maintainer
Repository
deploy
Owner
Statistic
- 0
- 0
- 0
- 0
- 2
- over 7 years ago
- June 20, 2017
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 21:53:48 GMT
Languages