mirror of
https://github.com/discourse/discourse.git
synced 2025-09-10 21:01:33 +08:00
update heroku instructions
This commit is contained in:
parent
45361934b9
commit
51fb7cf371
1 changed files with 13 additions and 0 deletions
|
@ -102,6 +102,19 @@ For details on how to reduce the monthly cost of your application, see [Advanced
|
||||||
# Unset var
|
# Unset var
|
||||||
unset SECRET_TOKEN
|
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.
|
8. Push your heroku branch to Heroku.
|
||||||
|
|
||||||
git push heroku heroku:master
|
git push heroku heroku:master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue