Skip to content

How to manually setup Illustry

Prerequisites

Before installing Illustry Frontend, ensure that you have the following prerequisites:

  • Node version 18.17.0 or higher
  • MongoDB

Illustry backend

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/illustry
MONGO_TEST_URL=mongodb:/127.0.0.1:27017/illustrytest
MONGO_USER=<your_personal_mongo_user>
MONGO_PASSWORD=<your_personal_mongo_password>
ILLUSTRY_PORT=7000

Run the following commands:

Terminal window
npm i && npm run build:ts && npm run start:dev

Docker:

Run the following commands:

Terminal window
docker build -t illustrybackend .
docker run -p 7000:7000

Illustry frontend

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:7000

Run the following commands:

Terminal window
npm i && npm run build:ts && npm run start:dev

Docker:

Before running, create the backend image first!

Run the following commands:

Terminal window
docker build -t illustryfrontend .
docker run -p 3000:3000 -e NEXT_PUBLIC_BACKEND_PUBLIC_URL=http:/ilustrybackend:7000 illustryfrontend