Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit a2bd942 Jun 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public Added install instructions Jun 4, 2019
src Added Battle Banzai Jun 16, 2019
.gitignore Added effects inventory & catalog search Jun 12, 2019
LICENSE.txt Create LICENSE.txt Mar 20, 2019
README.md
cleandb.sql Better teleport disposal Jun 5, 2019
index.js Major Changes May 1, 2019
package-lock.json Added effects inventory & catalog search Jun 12, 2019
package.json Added effects inventory & catalog search Jun 12, 2019
tsconfig.json Added effects inventory & catalog search Jun 12, 2019

README.md

nitro

For the latest updates join us on Discord: https://discord.gg/4K7MEMz

Setup

run npm i

rename ormconfig.js.new to ormconfig.js and set your database details

rename /src/app/Config.ts.new to /src/app/Config.ts and modify the settings to your desired values

import cleandb.sql to your mysql database

the web / socket server requires https. you must set your certificate like so:

public key: src/ssl/public.pem private key: src/ssl/private.pem

if you are not going to run the web server turn it off in the config

web: {
        enabled: false
}

if you do have the web server running, files in /public will be accessible on the web

Development Server

make sure in ormconfig.js to comment out the production line like so:

entities: [ 'src/app/database/entities/*.ts' ], // development
//entities: [ 'dist/app/database/entities/*.js' ], // production

run npm run dev the server will automatically resetart when any changes are detected

Production Server

make sure in ormconfig.js to comment out the development line like so:

//entities: [ 'src/app/database/entities/*.ts' ], // development
entities: [ 'dist/app/database/entities/*.js' ], // production

run tsc --build

run npm start

You can’t perform that action at this time.