Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Monitor
Service Desk
Analyze
Contributor statistics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
poppi2
server
Merge requests
!10
Apply readme improvement ideas
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Apply readme improvement ideas
fix-ci-error
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Oskar Vihriälä
requested to merge
fix-ci-error
into
main
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
6b069483
1 commit,
1 year ago
1 file
+
7
−
5
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
backend/README.md
+
7
−
5
Options
@@ -2,7 +2,7 @@
## Setup
###
Install dependencie
s
###
Node and npm version
s
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