Actualiser Installation

Skitounet 2024-11-07 12:39:23 +00:00
parent d901cf5ba7
commit 398e6ab6aa

@ -1 +1,50 @@
TODO
## Dev
### Prérequis
- [NodeJS](https://nodejs.org/en/)
- [PostgreSQL](https://www.postgresql.org/)
- [Une application Discord](https://discord.com/developers)
- [Un serveur Discord](https://discord.com/app)
### Installation
1. Cloner le projet
```shell
git clone https://git.crystalyx.net/camelia-studio/Gachamelia.git
cd Gachamelia
```
2. Créer le fichier .env et les modifier
```shell
cp .env.example .env
nano .env
```
### Lancement
```shell
npm run start:clean
```
## Production
### Prérequis
- [Docker](https://www.docker.com/)
### Installation
1. Pull l'image docker
```shell
docker pull git.crystalyx.net/camelia-studio/gachamelia:latest
```
2. Créer le fichier .env et les modifier
```shell
cp .env.example .env
nano .env
```
### Lancement
```shell
docker run --name Gachamelia -v ./.env:/app/.env git.crystalyx.net/camelia-studio/gachamelia:latest
```