Snippets Groups Projects

Apply readme improvement ideas

Merged Oskar Vihriälä requested to merge fix-ci-error into main
Compare and
1 file
+ 7
5
Preferences
File browser
Compare changes
+ 7
5
@@ -2,7 +2,7 @@
## Setup
### Install dependencies
### Node and npm versions
Install will fail if not using correct node and npm versions.
@@ -11,20 +11,22 @@ Install will fail if not using correct node and npm versions.
If using nvm, run `nvm install` to automatically switch to the correct versions.
### Install dependencies
```bash
npm install
```
### Add database url to .env file
### Run database in docker container
```bash
DATABASE_URL=mysql://root:poppipassword@localhost:3306/poppiDB
docker run --name poppi-dev-db -e MARIADB_ROOT_PASSWORD=poppipassword -p 3306:3306 -d mariadb:11.3.2
```
### Run database in docker container
### Add database url to .env file
```bash
docker run --name poppi-dev-db -e MARIADB_ROOT_PASSWORD=poppipassword -p 3306:3306 -d mariadb:11.3.2
DATABASE_URL=mysql://root:poppipassword@localhost:3306/poppiDB
```
### Apply current migrations to database