Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
ViaResto-website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aymeric Chaumont
ViaResto-website
Commits
cfee398b
Commit
cfee398b
authored
2 years ago
by
sucreCS
Browse files
Options
Downloads
Patches
Plain Diff
Changed all occurrences of eatfast into ViaResto
parent
31ba82a6
No related branches found
No related tags found
1 merge request
!60
Changed all occurrences of eatfast into ViaResto
Pipeline
#45907
failed
2 years ago
Stage: install
Stage: test
Changes
4
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+7
-7
7 additions, 7 deletions
.gitlab-ci.yml
README.md
+2
-2
2 additions, 2 deletions
README.md
frontend/public/index.html
+18
-18
18 additions, 18 deletions
frontend/public/index.html
frontend/src/components/Header.js
+1
-1
1 addition, 1 deletion
frontend/src/components/Header.js
with
28 additions
and
28 deletions
.gitlab-ci.yml
+
7
−
7
View file @
cfee398b
...
...
@@ -133,8 +133,8 @@ test-back:
# - job_id=$(cat job_id)
-
if [ $IMAGE = "back" ] ; then
-
>
ssh "
eatfa
st@$DOMAIN"
"cd /var/www/
eatfa
st-website/backend &&
ssh "
viare
st
o
@$DOMAIN"
"cd /var/www/
viare
st
o
-website/backend &&
git stash &&
git fetch &&
git checkout "$CI_COMMIT_BRANCH" &&
...
...
@@ -147,7 +147,7 @@ test-back:
-
echo 'REACT_APP_BASE_URL_BACK="https://$DOMAIN/api"' > .env;
-
echo 'REACT_APP_BASE_URL_FRONT="https://$DOMAIN"' >> .env;
-
npm run build;
-
scp -r build/
eatfa
st@"$DOMAIN":/var/www/
eatfa
st-website/frontend ; fi
-
scp -r build/
viare
st
o
@"$DOMAIN":/var/www/
viare
st
o
-website/frontend ; fi
deploy-back-prod
:
...
...
@@ -156,7 +156,7 @@ deploy-back-prod:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when
:
always
variables
:
DOMAIN
:
eatfa
st.viarezo.fr
DOMAIN
:
viare
st
o
.viarezo.fr
PRIVATE_KEY
:
"
$SSH_PRIVATE_KEY"
IMAGE
:
"
back"
dependencies
:
[]
...
...
@@ -168,7 +168,7 @@ deploy-front-prod:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when
:
always
variables
:
DOMAIN
:
eatfa
st.viarezo.fr
DOMAIN
:
viare
st
o
.viarezo.fr
PRIVATE_KEY
:
"
$SSH_PRIVATE_KEY"
IMAGE
:
"
front"
dependencies
:
...
...
@@ -185,7 +185,7 @@ deploy-back-staging:
-
if
:
$CI_COMMIT_BRANCH
when
:
always
variables
:
DOMAIN
:
eatfa
st.test.viarezo.fr
DOMAIN
:
viare
st
o
.test.viarezo.fr
PRIVATE_KEY
:
"
$SSH_PRIVATE_KEY_STAGING"
IMAGE
:
"
back"
dependencies
:
[]
...
...
@@ -201,7 +201,7 @@ deploy-front-staging:
-
if
:
$CI_COMMIT_BRANCH
when
:
always
variables
:
DOMAIN
:
eatfa
st.test.viarezo.fr
DOMAIN
:
viare
st
o
.test.viarezo.fr
PRIVATE_KEY
:
"
$SSH_PRIVATE_KEY_STAGING"
IMAGE
:
"
front"
dependencies
:
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
cfee398b
# **
Eatfa
st**
Eatfa
st is a website developed by ViaRézo for monitoring the waiting time in CROUS restaurants.
# **
ViaRe
st
o
**
ViaRe
st
o
is a website developed by ViaRézo for monitoring the waiting time in CROUS restaurants.
<br/>
...
...
This diff is collapsed.
Click to expand it.
frontend/public/index.html
+
18
−
18
View file @
cfee398b
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<link
rel=
"icon"
href=
"%PUBLIC_URL%/thumbnail_violet.png"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<meta
name=
"theme-color"
content=
"#000000"
/>
<meta
name=
"description"
content=
"Web site developed by ViaRézo"
/>
<meta
name=
"description"
content=
"Web site developed by ViaRézo"
/>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
...
...
@@ -18,8 +16,9 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>
Eatfa
st
</title>
<title>
ViaRe
st
o
</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div
id=
"root"
></div>
...
...
@@ -34,4 +33,5 @@
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
frontend/src/components/Header.js
+
1
−
1
View file @
cfee398b
...
...
@@ -34,7 +34,7 @@ export default function Header({ selection, setSelection }) {
:
`
${
selection
.
name
}
: actuellement
${
selection
.
status
?
"
ouvert
"
:
"
fermé
"
}
`
)}
<
/div
>
<
Link
id
=
"
header-home-link
"
to
=
"
/
"
onClick
=
{()
=>
setSelection
(
null
)}
>
<
h2
>
{
width
||
!
selection
?
"
Eatfa
st
"
:
selection
.
name
}
<
/h2
>
<
h2
>
{
width
||
!
selection
?
"
ViaRe
st
o
"
:
selection
.
name
}
<
/h2
>
<
/Link
>
<
div
id
=
"
header-timetable
"
>
{
selection
?
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment