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 saolei_website\back_end\saolei
pip install -r requirements.txt
- Install MySQL. According to configurations in
saolei_website\back_end\saolei\saolei\setting.py
, create a database namedsaolei
, with usernameroot
and password123456
- Create folder
saolei_website\back_end\saolei\logs
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
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 serve
Special debugging parameters:
EMAIL_SKIP
fromsaolei_website\backend\saolei\saolei\settings.py
can skip email captcha at user registration.
TODO