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:
@@ -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