Configurer Illustry manuellement
Conditions préalables
Section intitulée « Conditions préalables »Avant d’installer Illustry Frontend, assurez-vous que vous disposez des conditions préalables suivantes :
- Version de nœud 18.17.0 ou supérieure
- MongoDB
Illustry serveur
Section intitulée « Illustry serveur »Localement:
Section intitulée « Localement: »Un fichier nommé .env est nécessaire à la racine du projet contenant les champs suivants :
MONGO_URL=mongodb:/127.0.0.1:27017/illustryMONGO_TEST_URL=mongodb:/127.0.0.1:27017/illustrytestMONGO_USER=<your_personal_mongo_user>MONGO_PASSWORD=<your_personal_mongo_password>ILLUSTRY_PORT=7000Exécutez les commandes suivantes :
npm i && npm run build:ts && npm run start:devpnpm install && pnpm run build:ts && pnpm run start:devyarn && yarn build:ts && yarn start:devExécutez les commandes suivantes :
docker build -t illustrybackend .docker run -p 7000:7000Interface Illustry
Section intitulée « Interface Illustry »Localement:
Section intitulée « Localement: »Un fichier nommé .env est nécessaire à la racine du projet contenant les champs suivants :
NEXT_PUBLIC_BACKEND_PUBLIC_URL: http:/0.0.0.0:7000Exécutez les commandes suivantes :
npm i && npm run build:ts && npm run start:devpnpm install && pnpm run build:ts && pnpm run start:devyarn && yarn build:ts && yarn start:devAvant d’exécuter, créez d’abord l’image backend !
Exécutez les commandes suivantes :
docker build -t illustryfrontend .docker run -p 3000:3000 -e NEXT_PUBLIC_BACKEND_PUBLIC_URL=http:/ilustrybackend:7000 illustryfrontend