Cloning from git and setting up environment
Here are the steps required to perform when cloning Finding Nibbles once we have set up its infrastructure, which wont look too dissimilar to what we created in this spike.
Create a .env file inside the root of the backend folder. Copy the contents of .env.example into the new .env file.
cd to the backend directory and run
docker-compose up --buildin terminal to create your docker containers.Install Prisma dependencies:
npm install prisma @prisma/clientnpm i prisma - dnpx prisma db pushnpx prisma db seed
Start up the nest backend:
npm run start:devIn frontend/lib/core/dio_client.dart change the url to the correct version based on what simulator you are using (Mac or Android)
In the frontend directory run
flutter pub getto download dio dependencies.Ready to go!!
Last updated