1. Demo address
2. Page display
3. Local operation
1. Install dependencies
pip install -r requirements.txt
2. Check the configuration file and modify the database configuration
# mycloud/settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'cloud',
'HOST': '127.0.0.1',
'PORT': '3306',
'USER': 'root',
'PASSWORD': 'your password',
}
}
3. Migrate database
python manage.py migrate
4. Execute the basic sql file
mysql> use cloud;
mysql> source C:/Users/..../.sql;
5. Create a super user
python manage.py createsuperuser
6. Start the local server
python manage.py runserver
4. Source code download
Link: https://pan.baidu.com/s/1C5kRU8Ng0voKRWo4Fmykaw?pwd=rkdg
Extraction code: rkdg
1. Demo address
2. Page display
3. Local operation
1. Install dependencies
pip install -r requirements.txt
2. Check the configuration file and modify the database configuration
# mycloud/settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'cloud',
'HOST': '127.0.0.1',
'PORT': '3306',
'USER': 'root',
'PASSWORD': 'your password',
}
}
3. Migrate database
python manage.py migrate
4. Execute the basic sql file
mysql> use cloud;
mysql> source C:/Users/..../.sql;
5. Create a super user
python manage.py createsuperuser
6. Start the local server
python manage.py runserver
4. Source code download
Link: https://pan.baidu.com/s/1C5kRU8Ng0voKRWo4Fmykaw?pwd=rkdg
Extraction code: rkdg
1. Demo address
2. Page display
3. Local operation
1. Install dependencies
pip install -r requirements.txt
2. Check the configuration file and modify the database configuration
# mycloud/settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'cloud',
'HOST': '127.0.0.1',
'PORT': '3306',
'USER': 'root',
'PASSWORD': 'your password',
}
}
3. Migrate database
python manage.py migrate
4. Execute the basic sql file
mysql> use cloud;
mysql> source C:/Users/..../.sql;
5. Create a super user
python manage.py createsuperuser
6. Start the local server
python manage.py runserver
4. Source code download
Link: https://pan.baidu.com/s/1C5kRU8Ng0voKRWo4Fmykaw?pwd=rkdg
Extraction code: rkdg
1. Demo address
2. Page display
3. Local operation
1. Install dependencies
pip install -r requirements.txt
2. Check the configuration file and modify the database configuration
# mycloud/settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'cloud',
'HOST': '127.0.0.1',
'PORT': '3306',
'USER': 'root',
'PASSWORD': 'your password',
}
}
3. Migrate database
python manage.py migrate
4. Execute the basic sql file
mysql> use cloud;
mysql> source C:/Users/..../.sql;
5. Create a super user
python manage.py createsuperuser
6. Start the local server
python manage.py runserver
4. Source code download
Link: https://pan.baidu.com/s/1C5kRU8Ng0voKRWo4Fmykaw?pwd=rkdg
Extraction code: rkdg