Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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'.

Awesome Lists containing this project

README

        

# PingBracket

## DĂ©ploiement

ssh [email protected]

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