Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Julien David
lipn-search
Commits
82106a92
Commit
82106a92
authored
Mar 23, 2021
by
Hamid
Browse files
page A
parent
92e65bcb
Changes
89
Hide whitespace changes
Inline
Side-by-side
site_web/README.md
View file @
82106a92
Le serveur web de notre projet,consiste la partie executable sur le web .
Pour tester ce projet, vous devez suivre les etapes suivantes ci-dessous:
Pour executer le projet il suffit de suivre les etapes suivantes :
-Installer la version 3 de python ,
-Se rendre sur le repertoire contenant votre code server
-Executer le code avec la commande :
python3 sever.python
Vous deviez installer au prealable la version 3 du python .
VOus remarquerez que le server a demarer avec un message sur votre terminal
En suite ,vous deviez cloner le projet avec la commande suivantes :
--> git clone lien(le lien de la branch master )
-Consulter votre navigateur avec l'url
https://localhost:8080
Maintenant installer flask avec les commandes suivantes :
=> virtualenv env -p python3
=>. env / bin / activate n'oubliez pas le point (.)
=> pip install flask
Et l'affichage de votre page html index serra af
ficher
.
Enjoy
Alors vous etes deja arriver, il suffit juste de lancer le server en executant le
fich
i
er
run.py la commande est :
=> python3 run.py
Une fois que vous verrez quelque chose comme ça dans votre terminal, cela signifie que votre application est en cours d'exécution.
Application Flask "fbapp.views" (chargement différé)
Environnement: production
AVERTISSEMENT: Il s'agit d'un serveur de développement. Ne l'utilisez pas dans un déploiement de production.
Utilisez plutôt un serveur WSGI de production.
Mode de débogage: sur
Exécution sur http://127.0.0.1:5000/ (Appuyez sur CTRL + C pour quitter) Le
redémarrage avec stat Le
débogueur est actif!
Code PIN du débogueur: 134-874-021
127.
0.0.1 - - [03 / Mar / 2021 22:45:59] "GET / HTTP / 1.1" 200 -
\ No newline at end of file
site_web/app/__init__.py
0 → 100644
View file @
82106a92
from
flask
import
Flask
from
.views
import
app
site_web/app/__pycache__/__init__.cpython-38.pyc
0 → 100644
View file @
82106a92
File added
site_web/app/__pycache__/views.cpython-38.pyc
0 → 100644
View file @
82106a92
File added
site_web/app/static/css/landing-page.css
0 → 100644
View file @
82106a92
/*!
* Start Bootstrap - Landing Page v5.0.9 (https://startbootstrap.com/theme/landing-page)
* Copyright 2013-2020 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-landing-page/blob/master/LICENSE)
*/
body
{
font-family
:
'Lato'
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-family
:
'Lato'
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
font-weight
:
700
;
}
header
.masthead
{
position
:
relative
;
background-color
:
#343a40
;
background
:
url("../img/bg-masthead.jpg")
no-repeat
center
center
;
background-size
:
cover
;
padding-top
:
8rem
;
padding-bottom
:
8rem
;
}
header
.masthead
.overlay
{
position
:
absolute
;
background-color
:
#212529
;
height
:
100%
;
width
:
100%
;
top
:
0
;
left
:
0
;
opacity
:
0.3
;
}
header
.masthead
h1
{
font-size
:
2rem
;
}
@media
(
min-width
:
768px
)
{
header
.masthead
{
padding-top
:
12rem
;
padding-bottom
:
12rem
;
}
header
.masthead
h1
{
font-size
:
3rem
;
}
}
.showcase
.showcase-text
{
padding
:
3rem
;
}
.showcase
.showcase-img
{
min-height
:
30rem
;
background-size
:
cover
;
}
@media
(
min-width
:
768px
)
{
.showcase
.showcase-text
{
padding
:
7rem
;
}
}
.features-icons
{
padding-top
:
7rem
;
padding-bottom
:
7rem
;
}
.features-icons
.features-icons-item
{
max-width
:
20rem
;
}
.features-icons
.features-icons-item
.features-icons-icon
{
height
:
7rem
;
}
.features-icons
.features-icons-item
.features-icons-icon
i
{
font-size
:
4.5rem
;
}
.features-icons
.features-icons-item
:hover
.features-icons-icon
i
{
font-size
:
5rem
;
}
.testimonials
{
padding-top
:
7rem
;
padding-bottom
:
7rem
;
}
.testimonials
.testimonial-item
{
max-width
:
18rem
;
}
.testimonials
.testimonial-item
img
{
max-width
:
12rem
;
box-shadow
:
0px
5px
5px
0px
#adb5bd
;
}
.call-to-action
{
position
:
relative
;
background-color
:
#343a40
;
background
:
url("../img/bg-masthead.jpg")
no-repeat
center
center
;
background-size
:
cover
;
padding-top
:
7rem
;
padding-bottom
:
7rem
;
}
.call-to-action
.overlay
{
position
:
absolute
;
background-color
:
#212529
;
height
:
100%
;
width
:
100%
;
top
:
0
;
left
:
0
;
opacity
:
0.3
;
}
footer
.footer
{
padding-top
:
4rem
;
padding-bottom
:
4rem
;
}
site_web/app/static/css/landing-page.min.css
0 → 100644
View file @
82106a92
/*!
* Start Bootstrap - Landing Page v5.0.9 (https://startbootstrap.com/theme/landing-page)
* Copyright 2013-2020 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-landing-page/blob/master/LICENSE)
*/
body
{
font-family
:
Lato
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-family
:
Lato
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
font-weight
:
700
}
header
.masthead
{
position
:
relative
;
background-color
:
#343a40
;
background
:
url(../img/bg-masthead.jpg)
no-repeat
center
center
;
background-size
:
cover
;
padding-top
:
8rem
;
padding-bottom
:
8rem
}
header
.masthead
.overlay
{
position
:
absolute
;
background-color
:
#212529
;
height
:
100%
;
width
:
100%
;
top
:
0
;
left
:
0
;
opacity
:
.3
}
header
.masthead
h1
{
font-size
:
2rem
}
@media
(
min-width
:
768px
){
header
.masthead
{
padding-top
:
12rem
;
padding-bottom
:
12rem
}
header
.masthead
h1
{
font-size
:
3rem
}}
.showcase
.showcase-text
{
padding
:
3rem
}
.showcase
.showcase-img
{
min-height
:
30rem
;
background-size
:
cover
}
@media
(
min-width
:
768px
){
.showcase
.showcase-text
{
padding
:
7rem
}}
.features-icons
{
padding-top
:
7rem
;
padding-bottom
:
7rem
}
.features-icons
.features-icons-item
{
max-width
:
20rem
}
.features-icons
.features-icons-item
.features-icons-icon
{
height
:
7rem
}
.features-icons
.features-icons-item
.features-icons-icon
i
{
font-size
:
4.5rem
}
.features-icons
.features-icons-item
:hover
.features-icons-icon
i
{
font-size
:
5rem
}
.testimonials
{
padding-top
:
7rem
;
padding-bottom
:
7rem
}
.testimonials
.testimonial-item
{
max-width
:
18rem
}
.testimonials
.testimonial-item
img
{
max-width
:
12rem
;
box-shadow
:
0
5px
5px
0
#adb5bd
}
.call-to-action
{
position
:
relative
;
background-color
:
#343a40
;
background
:
url(../img/bg-masthead.jpg)
no-repeat
center
center
;
background-size
:
cover
;
padding-top
:
7rem
;
padding-bottom
:
7rem
}
.call-to-action
.overlay
{
position
:
absolute
;
background-color
:
#212529
;
height
:
100%
;
width
:
100%
;
top
:
0
;
left
:
0
;
opacity
:
.3
}
footer
.footer
{
padding-top
:
4rem
;
padding-bottom
:
4rem
}
\ No newline at end of file
site_web/app/static/img/bg-masthead.jpg
0 → 100644
View file @
82106a92
939 KB
site_web/app/static/img/bg-showcase-1.jpg
0 → 100644
View file @
82106a92
298 KB
site_web/app/static/img/bg-showcase-2.jpg
0 → 100644
View file @
82106a92
193 KB
site_web/app/static/img/bg-showcase-3.jpg
0 → 100644
View file @
82106a92
307 KB
site_web/app/static/img/testimonials-1.jpg
0 → 100644
View file @
82106a92
133 KB
site_web/app/static/img/testimonials-2.jpg
0 → 100644
View file @
82106a92
189 KB
site_web/app/static/img/testimonials-3.jpg
0 → 100644
View file @
82106a92
244 KB
site_web/app/static/scss/_call-to-action.scss
0 → 100644
View file @
82106a92
.call-to-action
{
position
:
relative
;
background-color
:
$gray-800
;
background
:
url('../img/bg-masthead.jpg')
no-repeat
center
center
;
@include
background-cover
;
padding-top
:
7rem
;
padding-bottom
:
7rem
;
.overlay
{
position
:
absolute
;
background-color
:
$gray-900
;
height
:
100%
;
width
:
100%
;
top
:
0
;
left
:
0
;
opacity
:
0
.3
;
}
}
site_web/app/static/scss/_footer.scss
0 → 100644
View file @
82106a92
footer
.footer
{
padding-top
:
4rem
;
padding-bottom
:
4rem
;
}
site_web/app/static/scss/_global.scss
0 → 100644
View file @
82106a92
body
{
@include
body-font
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
@include
body-font
;
font-weight
:
700
;
}
site_web/app/static/scss/_icons.scss
0 → 100644
View file @
82106a92
.features-icons
{
padding-top
:
7rem
;
padding-bottom
:
7rem
;
.features-icons-item
{
max-width
:
20rem
;
.features-icons-icon
{
height
:
7rem
;
i
{
font-size
:
4
.5rem
;
}
}
&
:hover
{
.features-icons-icon
{
i
{
font-size
:
5rem
;
}
}
}
}
}
site_web/app/static/scss/_masthead.scss
0 → 100644
View file @
82106a92
header
.masthead
{
position
:
relative
;
background-color
:
$gray-800
;
background
:
url('../img/bg-masthead.jpg')
no-repeat
center
center
;
@include
background-cover
;
padding-top
:
8rem
;
padding-bottom
:
8rem
;
.overlay
{
position
:
absolute
;
background-color
:
$gray-900
;
height
:
100%
;
width
:
100%
;
top
:
0
;
left
:
0
;
opacity
:
0
.3
;
}
h1
{
font-size
:
2rem
;
}
@media
(
min-width
:
768px
)
{
padding-top
:
12rem
;
padding-bottom
:
12rem
;
h1
{
font-size
:
3rem
;
}
}
}
site_web/app/static/scss/_mixins.scss
0 → 100644
View file @
82106a92
// Mixins
// Background Cover Mixin
@mixin
background-cover
{
-webkit-background-size
:
cover
;
-moz-background-size
:
cover
;
-o-background-size
:
cover
;
background-size
:
cover
;
}
// Font Mixins
@mixin
body-font
{
font-family
:
'Lato'
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
}
site_web/app/static/scss/_showcase.scss
0 → 100644
View file @
82106a92
.showcase
{
.showcase-text
{
padding
:
3rem
;
}
.showcase-img
{
min-height
:
30rem
;
background-size
:
cover
;
}
@media
(
min-width
:
768px
)
{
.showcase-text
{
padding
:
7rem
;
}
}
}
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment