This project uses Conventional Commits for commit messages. Husky will validate all commit messages to ensure they follow this format.
Valid commit message examples:
feat: add new featurefix: resolve bug in componentdocs: update READMErefactor: improve code structuretest: add unit testschore: update dependencies
The format is: <type>(<optional scope>): <description>
Install dependencies:
yarn installCreate a .env file based on .env.example in apps/gnome-back directory and fill in the necessary values.
Setup docker on your machine and run the following command to start services:
docker-compose up -dMigrate db:
cd apps/gnome-back
npx prisma generate
npx prisma migrate devRun the following command to start the backend service:
yarn devSetup Minio credentials:
- enter http://localhost:9001 using the username and password you set in
.envfile - create a bucket named
imagesathttp://localhost:9001/buckets/add-bucket - create Access Key and Secret Key at
http://localhost:9001/access-keys/new-account -
- update variables
MINIO_ACCESS_KEYandMINIO_SECRET_KEYin the.envfile with the new Access Key and Secret Key
- update variables
Create a .env file based on .env.example in apps/gnome-mobile directory and fill in the necessary values.
You can start the mobile app by running the following commands:
yarn workspace gnome-mobile prebuild
yarn workspace gnome-mobile android