How to manually setup Illustry
Prerequisites
Section titled “Prerequisites”Before installing Illustry Frontend, ensure that you have the following prerequisites:
- Node version 18.17.0 or higher
- MongoDB
Illustry backend
Section titled “Illustry backend”Locally:
Section titled “Locally:”A file named .env is needed at the root of the project containing the following fields:
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=7000Run the following commands:
npm i && npm run build:ts && npm run start:devpnpm install && pnpm run build:ts && pnpm run start:devyarn && yarn build:ts && yarn start:devDocker:
Section titled “Docker:”Run the following commands:
docker build -t illustrybackend .docker run -p 7000:7000Illustry frontend
Section titled “Illustry frontend”Locally:
Section titled “Locally:”A file named .env is needed at the root of the project containing the following fields:
NEXT_PUBLIC_BACKEND_PUBLIC_URL: http:/0.0.0.0:7000Run the following commands:
npm i && npm run build:ts && npm run start:devpnpm install && pnpm run build:ts && pnpm run start:devyarn && yarn build:ts && yarn start:devDocker:
Section titled “Docker:”Before running, create the backend image first!
Run the following commands:
docker build -t illustryfrontend .docker run -p 3000:3000 -e NEXT_PUBLIC_BACKEND_PUBLIC_URL=http:/ilustrybackend:7000 illustryfrontend