8000 Moved web assets to web/ and implemented a pure PHP compression solut… · SofHad/symfony@b9d2f1e · GitHub
[go: up one dir, main page]

Skip to content

Commit b9d2f1e

Browse files
committed
Moved web assets to web/ and implemented a pure PHP compression solution for CSS and JS files
1 parent 269991e commit b9d2f1e

18 files changed

+319
-7685
lines changed

CONTRIBUTING.ms

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Contributing
2+
============
3+
4+
The Symfony Demo application is an open source project. Contributions made by
5+
the community are welcome. Send us your ideas, code reviews, pull requests and
6+
feature requests to help us improve this project. All contributions must follow
7+
the [usual Symfony contribution requirements](http://symfony.com/doc/current/contributing/index.html).
8+
9+
Web Assets Management
10+
---------------------
11+
12+
This project manages its web assets in a special way to allow them to work
13+
without configuring any option, installing any tool or executing any command.
14+
If your contribution changes CSS styles or JavaScript code in any way, make
15+
sure to regenerate the `web/css/app.css` and `web/js/app.js` files. To do so,
16+
uncomment the Assetic blocks in the `app/Resources/views/base.html.twig` and
17+
execute the following command:
18+
19+
```bash
20+
$ php app/console assetic:dump --no-debug
21+
```

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ $ cd symfony-demo/
4848
$ php app/console server:run
4949
```
5050

51-
This command will start a web server for the Symfony application. Now you can access
52-
the application in your browser at <http://localhost:8000>. You can stop the built-in
53-
web server by pressing `Ctrl + C` while you're in the terminal.
51+
This command will start a web server for the Symfony application. Now you can
52+
access the application in your browser at <http://localhost:8000>. You can
53+
stop the built-in web server by pressing `Ctrl + C` while you're in the
54+
terminal.
5455

5556
> **NOTE**
5657
>
Binary file not shown.
Binary file not shown.

app/Resources/assets/fonts/font-awesome/fontawesome-webfont.svg

Lines changed: 0 additions & 565 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-25 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)
0