代码拉取完成,页面将自动刷新
sami.develop@outlook.com
Abdusami
Django + Vue3 + PostgreSQL
This project uses Django as the backend server, PostgreSQL as the main database, and Vue3 as the frontend framework. The UI library used is the Vuetifuyjs component library, which is a completely separated file upload website for MVC
mode.
- doc # documents
- server # server source file
- static # precompiled static file (builded)
- web # front-end pages source file (vue3)
- file.conf # Nginx config file for configuration
- run # run back-end server script
there is a database called file_upload
, we need to configure in settings.py
database :
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'file_upload',
'USER': ' **** ',
'PASSWORD': ' **** ',
'HOST': 'localhost',
'PORT': 5432,
}
}
http{
# ....
# ....
include /path/to/project/root/directory/file.conf;
}
Don't forget to point to the static folder under the root directory of the project from the root directory in the file. conf file
pip install -r requirements.txt
$ nohup gunicorn -w 4 -b 0.0.0.0:2424 FileUploader.wsgi & > ./gunicorn.log
Successfully deployed, can access on http://localhost
web borwser
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。