Based on Pydash Pro Linux Server

Source: Internet
Author: User
Tags virtualenv git clone

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.