Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: repo quickstart doc #262

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

docs: repo quickstart doc #262

wants to merge 3 commits into from

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 =)

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.

None yet

3 participants