https://github.com/tailrecursion/hoplon-deploy-heroku
Example application with everything needed to deploy to heroku.
https://github.com/tailrecursion/hoplon-deploy-heroku
Last synced: 4 months ago
JSON representation
Example application with everything needed to deploy to heroku.
- Host: GitHub
- URL: https://github.com/tailrecursion/hoplon-deploy-heroku
- Owner: tailrecursion
- License: epl-1.0
- Created: 2014-09-11T20:01:09.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-12T15:19:26.000Z (almost 12 years ago)
- Last Synced: 2024-05-09T13:59:49.243Z (about 2 years ago)
- Language: Clojure
- Size: 296 KB
- Stars: 9
- Watchers: 17
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy Hoplon Application to Heroku
An example project that uses Hoplon and Castra, with tasks to help you package
it up and deploy to Heroku. If you aren't familiar with how Heroku works you
may want to [check out their Getting Started docs][1].
## Start Local Dev Server
- When you're working on your app you can start a local server that will serve
your app at http://localhost:8000 and recompile source files as necessary:
```
$ boot development
```
- When you have everything working the way you want it, you're ready to
compile with optimizations and deploy to Heroku. That's the next section.
## Deploy to Heroku
- Set up for heroku (only need to do this once):
```
$ heroku create
```
- Build the hoplon html etc. and prepare deployment descriptors for Heroku:
```
$ boot production heroku
```
- Commit changes and push to Heroku:
```
$ git commit -a -m "working"
$ git push heroku master
```
- Check the server logs in case of trouble:
```
$ heroku logs --tail
```
[1]: https://devcenter.heroku.com/articles/getting-started-with-clojure
## License
Copyright © 2013 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.