36 lines
440 B
Markdown
36 lines
440 B
Markdown
|
# Setup back
|
|||
|
|
|||
|
---
|
|||
|
|
|||
|
## Contributing
|
|||
|
|
|||
|
### Getting started
|
|||
|
|
|||
|
Clone the project:
|
|||
|
|
|||
|
```bash
|
|||
|
git clone git@github.com:FelixLgr/BUT-3-Dev.git
|
|||
|
```
|
|||
|
|
|||
|
Add environment variables:
|
|||
|
|
|||
|
⚠️The MONGO_URL and MONGO_URL_TEST variables must be url encoded
|
|||
|
|
|||
|
```bash
|
|||
|
cp .env.example .env
|
|||
|
```
|
|||
|
|
|||
|
Set up the project:
|
|||
|
|
|||
|
```bash
|
|||
|
yarn setup
|
|||
|
```
|
|||
|
|
|||
|
### Development
|
|||
|
|
|||
|
To start the development server you need to run the following commands:
|
|||
|
|
|||
|
```bash
|
|||
|
yarn start:development
|
|||
|
```
|