mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 17:59:24 +02:00
Extend deplyoment documentation
This commit is contained in:
parent
477e2f3bd3
commit
15b576a2d7
2 changed files with 16 additions and 4 deletions
|
@ -10,6 +10,9 @@ within the root directory of this git repository) or you can replace it by
|
||||||
``image: docker.timelimit.io/timelimit-server`` which will use prebuilt docker
|
``image: docker.timelimit.io/timelimit-server`` which will use prebuilt docker
|
||||||
images.
|
images.
|
||||||
|
|
||||||
|
In case of self building the image, don't forget to run ``docker-compose up`` again
|
||||||
|
to make docker use the new image.
|
||||||
|
|
||||||
## example docker-compose.yml with included database
|
## example docker-compose.yml with included database
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -4,15 +4,24 @@ This requires that you've installed Node.JS and NPM.
|
||||||
You need this for the development, but you don't need it
|
You need this for the development, but you don't need it
|
||||||
when deploying using Docker.
|
when deploying using Docker.
|
||||||
|
|
||||||
## npm start
|
## Warning
|
||||||
|
|
||||||
This runs all pending migrations and starts the server.
|
You have to run ``npm install`` and ``npm run build`` and restart the server again
|
||||||
|
after running ``git pull``. otherwise you will keep using the old version.
|
||||||
|
|
||||||
|
## npm install
|
||||||
|
|
||||||
|
This install all dependencies.
|
||||||
|
|
||||||
## npm run build
|
## npm run build
|
||||||
|
|
||||||
This "compiles" the application.
|
This "compiles" the application.
|
||||||
|
|
||||||
|
## npm start
|
||||||
|
|
||||||
|
This runs all pending migrations and starts the server.
|
||||||
|
|
||||||
## npm run lint:fix
|
## npm run lint:fix
|
||||||
|
|
||||||
This fixes the causes of lint warnings (where possible).
|
This fixes the causes of lint warnings (where possible). This is only needed
|
||||||
|
during the development.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue