Licensing information viewable in the LICENSE file.
DEL requires Node.js 14.
nodemon is optional and allows you to use the npm run dev
command which is ideal in development, nodemon auto restarts and compiles on file save.
PM2 is optional and allows you to use the npm run pm2
command which is ideal if you wish to run DEL in production.
A MongoDB instance is required - it must match the configuration in the settings.json
file.
Redis must be installed for caching to work, the site will not function correctly without it - it must match the configuration in the settings.json
file.
Install all of the dependencies by running npm i
command.
- Rename
settings.example.json
tosettings.json
and fill it out appropriately, changing anything you need to change. - (Optional) In addition to this you may wish to change some of the things in the
variables.ts
file located insrc/Util/Function
.
When you first start DEL, and every time you make a change to any of the .ts
files, you will need to run the npm run compile
command (unless using npm run dev
).
We recommend when running DEL in production you use the npm run pm2
command, you can also still run DEL using the standard npm run start
command.
We recommend you run DEL using the npm run start
command, you can also run DEL using the npm run dev
command but due to compiling on file save, this isn't always a good idea.