|
| 1 | +# Flask-Assets Tutorial |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +[](https://github.com/hackersandslackers/flask-assets-tutorial/issues) |
| 8 | +[](https://github.com/hackersandslackers/flask-assets-tutorial/stargazers) |
| 9 | +[](https://github.com/hackersandslackers/flask-assets-tutorial/network) |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | +Structure your Flask apps in a scalable and intelligent way using Blueprints. This repository contains source code for the accompanying tutorial on Hackers and Slackers: https://hackersandslackers.com/flask-blueprints/ |
| 14 | + |
| 15 | +## Getting Started |
| 16 | + |
| 17 | +Installation is recommended with Pipenv: |
| 18 | + |
| 19 | +```shell |
| 20 | +$ git clone https://github.com/hackersandslackers/flask-assets-tutorial.git |
| 21 | +$ cd flask-assets-tutorial |
| 22 | +$ pipenv shell |
| 23 | +$ pipenv update |
| 24 | +$ pip install lesscpy cssmin jsmin |
| 25 | +$ python3 main.py |
| 26 | +``` |
| 27 | + |
| 28 | +Alternatively, try installing via **setup.py**: |
| 29 | + |
| 30 | +```shell |
| 31 | +$ git clone https://github.com/hackersandslackers/flask-assets-tutorial.git |
| 32 | +$ cd flask-assets-tutorial |
| 33 | +$ python3 setup.py install |
| 34 | +$ pip install lesscpy cssmin jsmin |
| 35 | +$ python3 main.py |
| 36 | +``` |
| 37 | +----- |
| 38 | + |
| 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 | + |
0 commit comments