Skip to content

Conversation

@benjamin1555
Copy link
Contributor

No description provided.

@benjamin1555 benjamin1555 changed the title Repo quickstart doc docs: repo quickstart doc Sep 2, 2021
# Quick Start
This article will help you quickly start the PWA and API to begin working on it.

- After cloning the source code on your computer, go to the repository root
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if we want to add a note about the fact that some of the packages are private for the moment and that an npm authentication is required to use them.

This article will help you quickly start the PWA and API to begin working on it.

- After cloning the source code on your computer, go to the repository root
- Install all dependencies by running `npm install`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a note about the fact that the --force flag is often (always?) needed for the installation ?

- Install all dependencies by running `npm install`
- Run `docker-compose up -d`. You may need to delete docker volumes for this command to work
- Sync your local database with its prisma schema, run `npm run prisma:db:push` and to populate the database run `npm run prisma:db:seed`
- Start the api by running `nx run api:serve`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a note about the fact that nx must be installed globally to run this command ? Also, another way to run it without a globally installed nx is with npm run nx run api:serve =)

@maxmousse maxmousse requested a review from floross September 2, 2021 16:23
@floross floross marked this pull request as draft December 7, 2021 12:15
@floross floross force-pushed the main branch 8 times, most recently from 5edabd1 to 0c09e5f Compare February 8, 2022 15:59
@floross floross force-pushed the main branch 2 times, most recently from bd36026 to 0a3283a Compare April 25, 2022 15:42
@floross floross requested review from EdouardDem and removed request for floross January 17, 2023 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants