Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.66 KB

README.md

File metadata and controls

53 lines (43 loc) · 1.66 KB

pisa.dev


Getting started

How to execute the stack locally:

  • Clone the repo in a local directory:
git clone [email protected]:pisa-dev/pisa.dev.git
  • Navigate to the folder
  • Run:
npm install
  • Install Docker

Refer to Docker's official documentation

  • Install mysql image
docker pull mysql
  • Launch mysql locally inside a docker container:
docker run --name mysql -e MYSQL_ROOT_PASSWORD=secret -p 3306:3306 -d mysql
  • Copy the .env.example file content in your .env file
  • Set the variable DATABASE_URL = 'mysql://root:[email protected]:3306/pisadev' in your .env file
  • Run to initialize an empty database:
npx prisma db push

If Prisma is not installed automatically, refer to Prisma's official documentation

  • Run to execute Next.js locally:
npm run dev
  • Navigate to http://localhost:3000

Contributing

To contribute follow the guidelines and don't hesitate to ask for help or guidance.


This is an app bootstrapped according to the init.tips stack, also known as the T3-Stack.

powered by vercel