Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 2.28 KB

Readme_en.md

File metadata and controls

50 lines (38 loc) · 2.28 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 back_end\saolei
  2. pip install -r requirements.txt
  3. Install MySQL. According to configurations in back_end\saolei\saolei\setting.py, create a database named saolei, with username root and password 123456
  4. Create folder back_end\saolei\logs
  5. Create folder back_end\saolei\assets for storage
  6. To test articles, git clone https://gitee.com/ee55/saolei_website_article.git in back_end\saolei\assets and rename the folder saolei_website_article to article.
  7. python manage.py makemigrations
  8. python manage.py migrate
  9. python manage.py runserver
  10. To test monitoring features, run python manage.py runapschedulermonitor in a separate thread.

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 dev

Special debugging parameters are located in backend\saolei\config\flags.py

Sponsor

TODO