42cursus ft_transcendence
Clicking the image below will take you to a YouTube video.
See descriptive Makefile
, or Production section.
This project uses Visual Studio Code as its IDE.
- Write the
project/frontend/.env
file, referring toproject/frontend/.env.sample.dev
. - Run
npm run dev
in theproject/frontend
directory.
- Write the
project/backend/.env
file, referring toproject/backend/.env.sample.dev
.- Use
docker/dev
if the database is not configured.
- Use
- Ensure the database is set up.
- Execute
npx prisma migrate deploy && npx ts-node setupDbForTest.ts
in theproject/backend
directory.
- Execute
- Run
npm run dev
in theproject/backend
directory.
- Ensure the working tree is clean. (Use
make fclean
) - Write the
.env
file, referring to.env.sample
. - Execute
make
.