Better deploy instructions in README.md

This commit is contained in:
Robbe Van Herck 2020-09-23 10:05:16 +02:00
parent 6e3587f215
commit ee4d2791fb
No known key found for this signature in database
GPG key ID: C54BF93D0C76CCF6

View file

@ -60,7 +60,14 @@ The latest and greatest builds on master get deployed automatically using [travi
For manual deployment, run For manual deployment, run
```bash ```bash
bundle exec nanoc deploy --target public # Build the site for production
bundle exec nanon --env=prod
# Run checks
bundle exec nanoc --env=prod check --deploy
# Deploy it to the server
bundle exec nanoc deploy --target public --env=prod
``` ```
If you want to deploy this on your own system for whatever reason, just serve the files using a webserver like nginx or Apache. If you want to deploy this on your own system for whatever reason, just serve the files using a webserver like nginx or Apache.