You will need the following installed on your system:
- Node.js
- Yarn
- Docker
- Volta (optional)
-
Clone the repository
git clone git@github.com:fairdataihub/dmp-chef.git -
Install the dependencies
yarn install -
Add your environment variables. An example is provided at
.env.examplecp .env.example .env -
Start the development server
yarn dev -
Open the application in your browser
open http://localhost:3000
The application uses a PostgreSQL database for storing data. You can use Docker to run these services locally.
docker-compose -f ./dev-docker-compose.yaml up
docker-compose -f ./dev-docker-compose.yaml up -d # if you want the db to run in the background
Close the database with:
docker-compose -f ./dev-docker-compose.yaml down
The application uses Prisma to interact with the database.
The application uses Nuxt UI to build the UI components. It also uses Tailwind CSS for styling.