Development Installation
notatka
Requirements: Node.js
Optional requirements: Docker, Docker Compose
Clone 4ga Boards repository into a directory of your choice
git clone https://github.com/RARgames/4gaBoards.git .
Install dependencies
npm i
Copy .env
cp server/.env.sample server/.env
Optional: Build client, copy build to the server
directory to suppress startup warnings
npm run client:build
cp -r client/build server/public
cp client/build/index.html server/views/index.ejs
Start the provided development database (Optionally, use your own database)
docker compose -f docker-compose-dev.yml up -d
If using your own database, edit DATABASE_URL
in server/.env
.
Initialize the database
npm run server:db:init
Start the development server
npm start
wskazówka
Default 4ga Boards url: http://localhost:3000
Default user: demo
Default password: demo
Additional Links:
4ga Boards Development Database Docker Compose