In the project directory, you can run:
To start server-side, you can run:
To restart the server-side, you can run:
To check the process running, you can run:
We have full backup of the database everyday at 01:00 AM.
Please ask GAO to get the latest one if you need.
- Change the value of "nodejs_api_host" to "http://template.maimai24.de:5000" in the file ./src/config.js
- Build this project from the command line using $ npm run build -release
- Copy the folder ./server into the build folder.
- Change the value of "api_whitelist" to "http://template.maimai24.de" in the file ./build/server/config.js
- Change the value of "database.user", "database.password" in the file ./build/server/config.js
- Create a new file .htaccess in the build folder and add the content to it:
RewriteEngine On
RewriteBase /
RewriteRule ^index.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L] - Upload the whole build folder to server.