Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephsako/esftt-pingbracket-frontend
🏓 Site du tournoi annuel de l'ESFTT permettant de gérer automatiquement l'ensemble des tableaux (inscriptions, créations de poules/binômes, winner et looser bracket), pour les formats 'simple' et 'double'.
https://github.com/stephsako/esftt-pingbracket-frontend
angular express javascript manager-game mongodb mongoose nodejs table-tennis tournament-bracket typescript
Last synced: 20 days ago
JSON representation
🏓 Site du tournoi annuel de l'ESFTT permettant de gérer automatiquement l'ensemble des tableaux (inscriptions, créations de poules/binômes, winner et looser bracket), pour les formats 'simple' et 'double'.
- Host: GitHub
- URL: https://github.com/stephsako/esftt-pingbracket-frontend
- Owner: StephSako
- Created: 2020-11-23T13:50:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T22:54:00.000Z (6 months ago)
- Last Synced: 2024-06-29T02:59:33.376Z (6 months ago)
- Topics: angular, express, javascript, manager-game, mongodb, mongoose, nodejs, table-tennis, tournament-bracket, typescript
- Language: TypeScript
- Homepage:
- Size: 1.25 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PingBracket
## DĂ©ploiement
sudo apt update && sudo apt -y upgrade
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
nvm install 12.13.0
npm install -g [email protected]
npm install -g @angular/[email protected]
[LOCAL FRONT] ng build --prod
[LOCAL FRONT] scp -r ./dist/ping-bracket [email protected]:~/Documents/ping-bracket-frontend
[PI FRONT] sudo cp ~/Documents/ping-bracket-frontend/* /var/www/html/
[LOCAL BACK] scp -r ./controller ./middleware ./model ./routes .env package.json server.js [email protected]:~/Documents/ping-bracket-backend
[PI BACK] npm i
[PI BACK] npm install -g pm2
[PI BACK] pm2 start server.js
[PI BACK] sudo nano /etc/apache2/sites-available/000-default.conf
-> Ajouter ProxyPass / http://localhost:3000/
[PI BACK] systemctl restart apache2
[PI BACK] cd /etc/apache2/sites-enabled
[PI BACK] sudo a2enmod (prompt : 'proxy' et 'proxy_http')
[PI BACK] sudo systemctl reload apache2
[PI BACK] sudo systemctl stop apache2
[PI BACK] sudo systemctl start apache2--------
sudo service apache2 restart