Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 2.08 KB

Readme_en.md

File metadata and controls

48 lines (36 loc) · 2.08 KB

saolei_website stars forks

Front end:Vue3 + Ts + Element-ui + wasm-bindgen
Back end:Django + Mysql + redis
Deployment:Nginx + uwsgi
Censorship:百度大脑

Project status

✅ Develop core functionalities
✅ Rent server
✅ Deploy for the first time
✅ Rent a domain name
✅ Registration
🔲 Alpha testing
🔲 Beta testing
🔲 Release

Steps for deployment:

This project can be developed on Windows and deployed on Linux. First, clone the project locally, say E://saolei_website.

Back end:

  1. cd saolei_website\back_end\saolei
  2. pip install -r requirements.txt
  3. Install MySQL. According to configurations in saolei_website\back_end\saolei\saolei\setting.py, create a database named saolei, with username root and password 123456
  4. Create folder saolei_website\back_end\saolei\logs
  5. python manage.py makemigrations
  6. python manage.py migrate
  7. python manage.py runserver

Front end:

  1. Download the latest flop player from https://github.com/eee555/flop-player/releases/download/v1.1/dist.zip and unzip it to saolei_website\front_end\public\flop (rename the folder name dist to flop), such that saolei_website\front_end\public\flop\index.html is accessible.
  2. cd saolei_website\front_end
  3. npm install
  4. npm run serve

Special debugging parameters:

  1. EMAIL_SKIP from saolei_website\backend\saolei\saolei\settings.py can skip email captcha at user registration.

Sponsor

TODO