Front end:Vue3 + Ts + Element-ui + wasm-bindgen
Back end:Django + Mysql + redis
Deployment:Nginx + uwsgi
Censorship:百度大脑
✅ Develop core functionalities
✅ Rent server
✅ Deploy for the first time
✅ Rent a domain name
✅ Registration
✅ Alpha testing
🔲 Beta testing
🔲 Release
This project can be developed on Windows and deployed on Linux. First, clone the project locally, say E://saolei_website
.
Back end:
cd back_end\saolei
pip install -r requirements.txt
- Install MySQL. According to configurations in
back_end\saolei\saolei\setting.py
, create a database namedsaolei
, with usernameroot
and password123456
- Create folder
back_end\saolei\logs
- Create folder
back_end\saolei\assets
for storage - To test articles,
git clone https://gitee.com/ee55/saolei_website_article.git
inback_end\saolei\assets
and rename the foldersaolei_website_article
toarticle
. python manage.py makemigrations
python manage.py migrate
python manage.py runserver
- To test monitoring features, run
python manage.py runapschedulermonitor
in a separate thread.
Front end:
- 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 namedist
toflop
), such thatsaolei_website\front_end\public\flop\index.html
is accessible. cd saolei_website\front_end
npm install
npm run dev
Special debugging parameters are located in backend\saolei\config\flags.py
TODO