Universidad: UTN FRRO
Miembros del equipo:
- Bruno
- Ramiro
- Fausto
You can see the site in this link entering with the following credentials:
| Role | Username | Password |
|---|---|---|
| Admin | bruno | 1234 |
| Seller | rami | 1234 |
| Seller | faus | 4321 |
Requirements to run this:
- git
- node
- pnpm
- docker
Once you've cloned a project and installed dependencies with pnpm install
Copy the environment variable file
cp .env.example .envStart the local docker container with the Database
docker compose up -dThen, start a development server:
pnpm devTo run seeds for the database, use the following command:
pnpm seedThe seeding script can be found in ./src/lib/seeders/
If you want to see what is stored in your local database, you can use drizzle-studio:
npm run inspectWhen you change something in the ./lib/server/drizzle/schema.ts file, you need to generate the migrations before merging to main.
Use the following command:
pnpm add-migrationNote: don't create the migration before pulling the latest version of main.