Instukcije za instalaciju IdeaStorm stranice za local development
Trebati će vam:
- Docker https://www.docker.com/products/docker-desktop/
- nodejs https://nodejs.org/en/
- git https://git-scm.com/
git clone https://github.com/codemodemc2/codemode.git
Promjenite mapu u /codemode/apps/server
Napravite novu .env
datoteku
i ispunite ju sa sljedećim podatcima
PORT=8080
NODE_ENV=development ili production
COOKIE_SECRET=random string
DBURL=mongodb://localhost
DBNAME=ideastorm
NGINX_ENABLED=false
REDIS_PASSWORD=null
GITHUB_SECRET=null
FRONTEND_URL=http://localhost:3000
Promjenite mapu u /codemode/apps/client
Napravite novu .env
datoteku
i ispunite ju sa sljedećim podatcima
VITE_BASE_URL=http://localhost:8080/v1/
docker compose up
yarn
yarn dev