Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2024 #5

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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