mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Extend deplyoment documentation
This commit is contained in:
@@ -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
|
||||
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
|
||||
|
||||
```
|
||||
|
||||
@@ -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
|
||||
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
|
||||
|
||||
This "compiles" the application.
|
||||
|
||||
## npm start
|
||||
|
||||
This runs all pending migrations and starts the server.
|
||||
|
||||
## 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.
|
||||
|
||||
Reference in New Issue
Block a user