Skip to content

d-anz/pureftp

 
 

Repository files navigation

简介

PUREFTP管理系统

特性

web管理

项目地址

GITHUB:https://github.com/SRELabs/pureftp

快速开始

安装

cd /home/cloudsa/
mkdir pureftp.cloudsa.org
git clone [email protected]:SRELabs/pureftp.git pureftp.cloudsa.org

安装pip依赖

cd pureftp.cloudsa.org
pip install -r requirements.txt

修改配置文件

mv archer/settings.py.sample archer.setting.py
如果你使用sqlite3,数据库配置默认即可。如果想使用MySQL,那么请将配置文件中的mysql改为default即可。

vim archer/settings.py

DATABASES = {
    'mysql': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'archer_user',
        'USER': 'root',
        'PASSWORD': '',
        'HOST': 'localhost',
        'PORT': '3306',
    },
    'default':{
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'data/main.db'
    }
}

初始化数据

python manage.py migrate

创建管理员账户

# python manage.py createsuperuser
Username (leave blank to use 'root'): cloudsa
Email address: [email protected]
Password:
Password (again):
Superuser created successfully.

启动

python manage.py runserver

更新日志

2017-05-26

 

 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%