Installation and Build
Learn how to install and build Canyon Community Edition.
Configure Environment
Before starting installation, you need to configure environment variables.
# Prisma Config
DATABASE_URL=postgres://username:password@localhost:5432/dbnameNode.js
Clone the project
git clone https://github.com/canyon-project/canyonInstall dependencies and build the project
pnpm install && pnpm run buildModify .env file and create database tables
pnpm run migrateRun the project using Node.js
node packages/canyon-backend/dist/main.jsDocker
To run Canyon using Docker, just specify the environment variable file path and port number
docker run -d -p 8080:8080 -v /your/path/.env:/app/.env zhangtao25/canyon:mainSuccessful Startup
After successful startup, there will be two main services:
- Canyon frontend
- Canyon backend
Visit http://localhost:8000/login to log in to Canyon.