mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
update heroku instructions
This commit is contained in:
parent
45361934b9
commit
51fb7cf371
|
@ -102,6 +102,19 @@ For details on how to reduce the monthly cost of your application, see [Advanced
|
|||
# Unset var
|
||||
unset SECRET_TOKEN
|
||||
|
||||
When precompiling locally make sure to alter the .gitignore file to allow the public/assets folder into version control.
|
||||
|
||||
*.gitignore*
|
||||
|
||||
```diff
|
||||
- public/assets
|
||||
+ # public/assets
|
||||
```
|
||||
|
||||
Also, you'll need to add a commit to get the precompiled assets onto Heroku.
|
||||
git add public/assets
|
||||
git push heroku heroku:master
|
||||
|
||||
8. Push your heroku branch to Heroku.
|
||||
|
||||
git push heroku heroku:master
|
||||
|
|
Loading…
Reference in New Issue
Block a user