Skip to content

Commit

Permalink
Merge pull request #5 from ungdev/maj2024
Browse files Browse the repository at this point in the history
Update 2024
  • Loading branch information
Remi-pcn authored Dec 5, 2024
2 parents 6ac128a + 9f972d5 commit 517c770
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
with:
submodules: true
- name: Build containers
run: docker-compose build
run: docker compose build
- name: Start containers
run: docker-compose up -d
run: docker compose up -d
- name: Shutdown containers
run: docker-compose down
run: docker compose down
18 changes: 12 additions & 6 deletions env/api.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@ DB_PORT=3306
DB_NAME=bouffe
DB_USERNAME=ua
DB_PASSWORD=uttarena

SALE_POINT_ID=
ENTRY_SALE_POINT_ID=
DEVICE_ID=
INTERNET_CHECK_TIMEOUT=30000

APP_PORT=3001
APP_TOKEN_SECRET=randomString
APP_TOKEN_EXPIRES=3 days
APP_PIN_TV=123456
APP_PIN_SELLER=147258
APP_PIN_PIZZA=741852
APP_PIN_ADMIN=159753
SLACK_ENABLED=false
SLACK_WEBHOOK_URL=

APP_PIN_TV=
APP_PIN_SELLER=
APP_PIN_ADMIN=
APP_PIN_PREPARATOR=

# Envoie un message sur Discord à chaque commande prête
DISCORD_API_PRIVATE_KEY=

2 changes: 1 addition & 1 deletion front
2 changes: 1 addition & 1 deletion seed/categories.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id,name,key,needsPreparation
1,Boissons,boissons,0
2,Snacks,snacks,0
3,Crêpes salées,galette,1
3,Crêpes salées,galettes,1
4,Croques,croques,1
5,Pizzas,pizzas,1
6,Hotdogs,hotdogs,1
Expand Down
4 changes: 2 additions & 2 deletions seed/users.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id,name,key,permissions
1,Télévision,tv,
1,Télévision,tv,tv
2,Vendeur,seller,sell
3,Préparateur Pizza,pizza,pizza
3,Préparateur,preparator,prepare
4,Administrateur,admin,admin

0 comments on commit 517c770

Please sign in to comment.