This is a project written using Amber. Enjoy!
These instructions will get a copy of this project running on your machine for development and testing purposes.
This project requires Crystal (installation guide).
This project requires Docker.
Development is done with Docker
To start up the app in development:
- Build the containers with
docker-compose build
- Run the containers with
docker-compose up
- Visit localhost:3000 to see the app!
Production is also served via Docker
This will launch the app on port 80 and bind it to 0.0.0.0
- Build the containers with
docker-compose -p sam-blog-prod -f docker-compose.prod.yml build
- Run the containers with
docker-compose -p sam-blog-prod -f docker-compose.prod.yml up -d
- Visit localhost to see the production app!
- Logs are visible with
docker-compose -p sam-blog-prod logs -f --tail=500
- Fork it ( https://github.com/jhonnold/sam-blog/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
- jhonnold Jay Honnold - creator, maintainer