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/.envfile, referring toproject/frontend/.env.sample.dev. - Run
npm run devin theproject/frontenddirectory.
- Write the
project/backend/.envfile, referring toproject/backend/.env.sample.dev.- Use
docker/devif the database is not configured.
- Use
- Ensure the database is set up.
- Execute
npx prisma migrate deploy && npx ts-node setupDbForTest.tsin theproject/backenddirectory.
- Execute
- Run
npm run devin theproject/backenddirectory.
- Ensure the working tree is clean. (Use
make fclean) - Write the
.envfile, referring to.env.sample. - Execute
make.