|
1 | 1 | # Flask-Assets Tutorial
|
2 | 2 |
|
3 |
| - |
4 |
| - |
| 3 | + |
| 4 | + |
5 | 5 | 
|
6 | 6 | 
|
7 | 7 | [](https://github.com/hackersandslackers/flask-assets-tutorial/issues)
|
8 |
| -[](https://github.com/hackersandslackers/flask-assets-tutorial/stargazers) |
| 8 | +[](https://github.com/hackersandslackers/flask-assets-tutorial/stargazers) |
9 | 9 | [](https://github.com/hackersandslackers/flask-assets-tutorial/network)
|
10 | 10 |
|
11 | 11 | 
|
@@ -34,10 +34,18 @@ $ pipenv shell
|
34 | 34 | $ pipenv update
|
35 | 35 | $ flask run
|
36 | 36 | ```
|
37 |
| ------ |
38 | 37 |
|
39 |
| -**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content. |
40 |
| ------ |
| 38 | +## Usage |
| 39 | + |
| 40 | +Replace the values in **.env.example** with your values and rename this file to **.env**: |
41 | 41 |
|
42 |
| -**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content. |
| 42 | +* `FLASK_APP`: Entry point of your application (should be `wsgi.py`). |
| 43 | +* `FLASK_ENV`: The environment to run your app in (either `development` or `production`). |
| 44 | +* `SECRET_KEY`: Randomly generated string of characters used to encrypt your app's data. |
| 45 | +* `LESS_BIN`: Path to your local LESS installation via `which lessc`. |
| 46 | + |
| 47 | +*Remember never to commit secrets saved in .env files to Github.* |
| 48 | + |
| 49 | +----- |
43 | 50 |
|
| 51 | +**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content. |
0 commit comments