Skip to content

BringFeel/solari

Repository files navigation

Solari banner

Downloads Stars Discord Release

Installation

  1. run npm i
  2. If you have problems with nodemon run npm install --global nodemon
  3. If you are on windows use start.bat if you are on linux use start.sh
  4. Connect to http://localhost:8080 (If you have the default config)

Solari webhost working
If you don't have the possibility to run the server via .bat or .sh use nodemon -e js,html,css ./server.js on terminal

Configuration

  1. Go to config.js
module.exports = {

PORT: '8080',
HTTPS_PORT: '4545',
USE_HTTPS: 'false',
USE_HTTP: 'true'

}
  1. Edit the 4 configs
  2. Save, Done!

SSL/HTTPS Mode

You need a ssl certificate!

  1. Delete the demo files in the folder
  2. Copy your ssl certificates to folder certificates
  3. Rename to certificate on the 2 files
  4. The certificates needs .crt and .key extensions
  5. Enable the https mode on config.js
USE_HTTPS: 'true',
  1. Done!

Editing Files

  1. Go to the folder WebFiles
    Folder
  2. Upload or edit your files
    File
  3. Done!