https://github.com/jhonnold/sam-blog
Sam Millers Blog
https://github.com/jhonnold/sam-blog
amber-framework crystal-lang postgres
Last synced: about 1 month ago
JSON representation
Sam Millers Blog
- Host: GitHub
- URL: https://github.com/jhonnold/sam-blog
- Owner: jhonnold
- License: mit
- Created: 2018-06-10T19:44:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-20T00:00:02.000Z (about 7 years ago)
- Last Synced: 2025-02-07T02:47:05.478Z (over 1 year ago)
- Topics: amber-framework, crystal-lang, postgres
- Language: HTML
- Homepage:
- Size: 2.47 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Sam Miller's Blog
[](https://amberframework.org)
This is a project written using [Amber](https://amberframework.org). Enjoy!
## Getting Started
These instructions will get a copy of this project running on your machine for development and testing purposes.
### Prerequisites
This project requires [Crystal](https://crystal-lang.org/) ([installation guide](https://crystal-lang.org/docs/installation/)).
This project requires [Docker](https://docs.docker.com/install/).
### Development
Development is done with Docker
To start up the app in development:
1. Build the containers with `docker-compose build`
2. Run the containers with `docker-compose up`
3. Visit [localhost:3000](http://localhost:3000) to see the app!
### Production
Production is also served via Docker
This will launch the app on port 80 and bind it to 0.0.0.0
1. Build the containers with `docker-compose -p sam-blog-prod -f docker-compose.prod.yml build`
2. Run the containers with `docker-compose -p sam-blog-prod -f docker-compose.prod.yml up -d`
3. Visit [localhost](http://localhost) to see the production app!
4. Logs are visible with `docker-compose -p sam-blog-prod logs -f --tail=500`
## Contributing
1. Fork it ( https://github.com/jhonnold/sam-blog/fork )
2. Create your feature branch ( `git checkout -b my-new-feature` )
3. Commit your changes ( `git commit -am 'Add some feature'` )
4. Push to the branch ( `git push origin my-new-feature` )
5. Create a new Pull Request
## Contributors
- [jhonnold](https://github.com/jhonnold) Jay Honnold - creator, maintainer