Pydash Project Address: Https://github.com/k3oni/pydash
First, the installation process
1. Install Pip
DNF Install git python-pip-y
Pip Install Virtualenv
2. Download software
git clone https://github.com/koni/pydash.git
CD Pydash
Virtualenv Pydashtest
#激活虚拟环境
SOURCE Pydashtest/bin/activate
3. Install the Package
Cat Requirements.txt
Pip Install-r requirements.txt
4. Enter the SOFTWARE catalog
(pydashtest) [Email protected] ~]# CD Pydash
(pydashtest) [email protected] pydash]# LL
Total 28
-rw-r--r--1 root root 0 Mar 11:33 __init__.py
-rw-r--r--1 root root 118 Mar 11:41 __init__.pyc
-rw-r--r--1 root root 3368 Mar 11:40 settings.py
-rw-r--r--1 root root 3297 Mar 11:41 settings.pyc
-rw-r--r--1 root root 2216 Mar 11:33 urls.py
-rw-r--r--1 root root 1837 Mar 11:51 Urls.pyc
-rw-r--r--1 root root 387 Mar 11:33 wsgi.py
-rw-r--r--1 root root 573 Mar 11:41 Wsgi.pyc
5, Set key (note: Key after the character casually write)
VI settings.py
Secret_key = ' Nulige '
6. Setting
(pydashtest) [Email protected] pydash]# CD.
(pydashtest) [email protected] pydash]# LL
Total 116
-rw-r--r--1 root root 102400 Mar 11:57 db.sqlite3
-rw-r--r--1 root root 1133 Mar 11:33 license.md
Drwxr-xr-x 2 root root for Mar 11:51 main
-rwxr-xr-x 1 root root 249 Mar 11:33 manage.py
Drwxr-xr-x 2 root root 146 Mar 11:51 Pydash
Drwxr-xr-x 5 root root 11:33 pydashtest
-rw-r--r--1 root root 1493 Mar 11:33 readme.md
-rw-r--r--1 root root 11:33 requirements.txt
Drwxr-xr-x 6 root root (Mar) 11:33 static
Drwxr-xr-x 2 root root 11:33 templates
Drwxr-xr-x 2 root root 11:51 usage
7. Create a Database
Python manage.py syncdb
8. Start the Software
Python manage.py runserver
Based on Pydash Pro Linux Server