-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Deploy via terminal
user edited this page Feb 16, 2023
·
6 revisions
Deploying Ultraviolet through a terminal is made easy.
We don't support versions of NodeJS that are older than LTS. Running newer non-LTS versions may lead to weird behavior, however it should still work.
NodeJS LTS is currently 18.x. NodeJS 16 is unsupported and should not be used.
The version of NodeJS that your package manager provides may be severely outdated and vulnerable. Use NodeSource instead.
- skip the clone step, start at install
- use the Replit terminal instead of the console by selecting "Shell" under tools or selecting the "Shell" tab in the Replit terminal
-
Clone
git clone https://github.com/titaniumnetwork-dev/Ultraviolet-App.git cd Ultraviolet-App
-
Install
npm install
If this takes long, you may attempt to omit dev dependencies:
npm install --omit=dev
-
Start
Once dependencies are installed, select the "Run" button on Replit or run:
npm start
Alternatively, run on a port:
PORT=8080 npm start
You can stop it at any time by pressing CTRL + C
If you aren't using Replit, you may want to explore:
- Running in the background
- Fixing SSL errors for Ultraviolet: Configure SSL