Skip to content

Commit 8131e86

Browse files
committed
2nd commit
1 parent aafbbb4 commit 8131e86

File tree

1,227 files changed

+158
-209
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,227 files changed

+158
-209
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
!var/sessions/.gitkeep
1717

1818
# Parameters
19-
/app/config/parameters.yml
19+
#/app/config/parameters.yml
2020
/app/config/parameters.ini
2121

2222
# Managed by Composer

Procfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.MD.txt

100644100755
File mode changed.

README.md

100644100755
Lines changed: 45 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,69 @@
1-
# DressScrapper
2-
Dress scrapper for Adidas Shoes
1+
Symfony Standard Edition
2+
========================
33

4-
I) Setup:
4+
Welcome to the Symfony Standard Edition - a fully-functional Symfony
5+
application that you can use as the skeleton for your new applications.
56

6-
If you encounter a DOMDocument related error on your terminal, please install the following package:
7+
For details on how to download and get started with Symfony, see the
8+
[Installation][1] chapter of the Symfony Documentation.
79

8-
$ sudo apt-get install php-xml
10+
What's inside?
11+
--------------
912

10-
Now let's get started !
13+
The Symfony Standard Edition is configured with the following defaults:
1114

12-
First set up your user’s database credentials located in the file app/parameters.yml
15+
* An AppBundle you can use to start coding;
1316

14-
Then if your credentials are correct symfony should be able to create the database and it schema:
15-
At the root of the project:
16-
(I recommend creating an alias for « php bin/console » to avoid repeating it each time):
17+
* Twig as the only configured template engine;
1718

18-
sf doctrine:database:create
19+
* Doctrine ORM/DBAL;
1920

20-
sf doctrine:schema:create
21+
* Swiftmailer;
2122

22-
else
23+
* Annotations enabled for everything.
2324

24-
php bin/console doctrine:database:create
25+
It comes pre-configured with the following bundles:
2526

26-
php bin/console doctrine:schema:create
27+
* **FrameworkBundle** - The core Symfony framework bundle
2728

28-
####
29-
(Make sure your mysql user had grant access to ‘CREATE’ a database)
29+
* [**SensioFrameworkExtraBundle**][6] - Adds several enhancements, including
30+
template and routing annotation capability
3031

31-
GRANT CREATE ON * . * TO 'yourusername'@'localhost';
32+
* [**DoctrineBundle**][7] - Adds support for the Doctrine ORM
3233

33-
GRANT ALL PRIVILEGES ON * . * TO 'yourusername'@'localhost';
34+
* [**TwigBundle**][8] - Adds support for the Twig templating engine
3435

35-
FLUSH PRIVILEGES;
36+
* [**SecurityBundle**][9] - Adds security by integrating Symfony's security
37+
component
3638

37-
quit;
39+
* [**SwiftmailerBundle**][10] - Adds support for Swiftmailer, a library for
40+
sending emails
3841

39-
####
42+
* [**MonologBundle**][11] - Adds support for Monolog, a logging library
4043

41-
Then you can start the server:
44+
* **WebProfilerBundle** (in dev/test env) - Adds profiling functionality and
45+
the web debug toolbar
4246

43-
php bin/console server:run
47+
* **SensioDistributionBundle** (in dev/test env) - Adds functionality for
48+
configuring and working with Symfony distributions
4449

45-
II) App:
50+
* [**SensioGeneratorBundle**][13] (in dev/test env) - Adds code generation
51+
capabilities
4652

47-
This Symfony Web based app scrapp the 5 first pages of the shoes catalogue from adidas.fr website.
53+
* **DebugBundle** (in dev/test env) - Adds Debug and VarDumper component
54+
integration
4855

49-
You can choose both female and male sections.
56+
All libraries and bundles included in the Symfony Standard Edition are
57+
released under the MIT or BSD license.
5058

51-
All the main informations you will need will be provided in real time and printed at the homepage.
59+
Enjoy!
5260

53-
ProductId, Name, Current Price, Base Price, Current Discount.
54-
55-
You have the possibility to fetch these datas with your local database by simply clicking on the left button "Update Database".
56-
57-
DressScrapper is open source and was coded with pleasure, feel free to contribute to it.
61+
[1]: https://symfony.com/doc/3.2/setup.html
62+
[6]: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
63+
[7]: https://symfony.com/doc/3.2/doctrine.html
64+
[8]: https://symfony.com/doc/3.2/templating.html
65+
[9]: https://symfony.com/doc/3.2/security.html
66+
[10]: https://symfony.com/doc/3.2/email.html
67+
[11]: https://symfony.com/doc/3.2/logging.html
68+
[12]: https://symfony.com/doc/3.2/assetic/asset_management.html
69+
[13]: https://symfony.com/doc/current/bundles/SensioGeneratorBundle/index.html

app/Resources/views/Home/css/materialize.css

100644100755
File mode changed.

app/Resources/views/Home/css/materialize.min.css

100644100755
File mode changed.

app/Resources/views/Home/css/style.css

100644100755
Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,22 @@
77
*/
88

99
.icon-block {
10-
padding: 0 15px;
10+
padding: 0 15px;
1111
}
12+
1213
.icon-block .material-icons {
13-
font-size: inherit;
14+
font-size: inherit;
1415
}
1516

16-
.adidas-logo {
17-
background-image: url("../img/adidas-logo.svg");
18-
}
17+
.flex {
18+
display: inline-flex;
19+
}
20+
21+
.pad-left {
22+
padding-left: 4px;
23+
}
24+
25+
.adidas-logo {
26+
height: 58px;
27+
margin-top: 3px;
28+
}

app/Resources/views/Home/fonts/roboto/Roboto-Bold.woff

100644100755
File mode changed.

app/Resources/views/Home/fonts/roboto/Roboto-Bold.woff2

100644100755
File mode changed.

app/Resources/views/Home/fonts/roboto/Roboto-Light.woff

100644100755
File mode changed.

0 commit comments

Comments
 (0)