git clone https://github.com/liwanlei/UFATestPlan.git 下载代码,设计的部分文档见doc文件夹下
pip install -r requirements.txt
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
#'ENGINE':'django.db.backends.mysql',
#'NAME':'liwanleiapptest',
#'USER':'root',
#'PASSWORD':'liwanlei',
#'HOST':'127.0.0.1',
#'PORT':'3306'
}
}
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
python manage.py createsuperuser
超级管理员:admin 密码:testqwer http://127.0.0.1:8000/xadmin