Copyright (c) 2020 edg-l, Tezcan, timakro
- Server:
PORT
(default3000
),BEHIND_PROXY
node.js is behind reverse proxy? (defaultfalse
) - MySQL:
MYSQL_HOST
,MYSQL_USER
,MYSQL_PASSWORD
,MYSQL_DATABASE
- Serverstatus:
SERVERS_LOCATION
location of servers.json file - Maps:
MAPS_LOCATION
location of map directory with images (and maps) - MongoDB:
DATABASE_USERNAME
,DATABASE_PASSWORD
,DATABASE_HOST
,DATABASE_PORT
,DATABASE_NAME
(default"uniqueweb"
) - Cookies:
COOKIE_SECRET
cookie signing key,COOKIE_SECURE
only send cookies via HTTPS? (defaultfalse
) - ReCAPTCHA:
RECAPTCHA_SITE_KEY
,RECAPTCHA_SECRET_KEY
- Password storage:
SALT_WORK_FACTOR
(default10
) - Admin dashboard password:
ADMIN_DASHBOARD_PW
the password (default1234
)
git clone https://github.com/unique-clan/unique-web
cd unique-web
npm install
npm start
Will listen onlocalhost:3000
by default
We follow StandardJS