Revize 1f77dd64
Přidáno uživatelem Tomáš Ballák před asi 4 roky(ů)
README.md | ||
---|---|---|
6 | 6 |
|
7 | 7 |
## 🔩 Development env |
8 | 8 |
|
9 |
* Install **[🐳 docker](https://www.docker.com/)** and **[📝 vscode](https://code.visualstudio.com/)** |
|
9 |
* Install **latest php**, **[🐳 docker](https://www.docker.com/)** and **[📝 vscode](https://code.visualstudio.com/)**
|
|
10 | 10 |
* Then run `./scripts/dev/build.sh` or `scripts/dev/build.bat` in the root of the project |
11 | 11 |
* When you run `docker ps` you should see these containers: **heatmap_nginx**, **heatmap_php-fpm** and **heatmap_mongodb** |
12 | 12 |
* Symfony project should be available on http://localhost:80 |
... | ... | |
18 | 18 |
* require `./scripts/composer.sh require package_name` |
19 | 19 |
### PHP Linter in vscode |
20 | 20 |
* If you want check your code style is in the right format press <kbd>F1</kbd> choose `Tasks: Run Task` and `PHP Linter` |
21 |
* If you want to format the current file you use <kbd>CTRL+Shift+I</kbd> or <kbd>🖱️ RightClick</kbd> + `Format Document`
|
|
21 |
* If you want to format the current file just press <kbd>F1</kbd> choose `Tasks: Run Task` and `Format`
|
|
22 | 22 |
## 🚀 Production env |
23 | 23 |
* To run production env on your local machine execute this `./scripts/build.sh` |
Také k dispozici: Unified diff
Bug #7865 Issue with cache in Symfony