mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 17:59:24 +02:00
27 lines
620 B
Markdown
27 lines
620 B
Markdown
# npm Commands
|
|
|
|
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.
|
|
|
|
## Warning
|
|
|
|
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 is only needed
|
|
during the development.
|