kopia lustrzana https://github.com/piku/piku
update
rodzic
a432617cde
commit
1a98b825a1
|
@ -38,7 +38,7 @@ Before running `piku` for the first time, you need to install the following Pyth
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install git python-virtualenv python-pip
|
sudo apt-get install git python-virtualenv python-pip
|
||||||
sudo pip install -U click click-repl
|
sudo pip install -U click
|
||||||
```
|
```
|
||||||
|
|
||||||
### Raspbian Wheezy
|
### Raspbian Wheezy
|
||||||
|
@ -46,7 +46,7 @@ sudo pip install -U click click-repl
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install git python2.7
|
sudo apt-get install git python2.7
|
||||||
sudo easy_install -U pip
|
sudo easy_install -U pip
|
||||||
sudo pip install -U click click-repl virtualenv
|
sudo pip install -U click virtualenv
|
||||||
```
|
```
|
||||||
|
|
||||||
These may or may not be installed already (`click` usually isn't). For Raspbian Wheezy this is the preferred approach, since current `apt` packages are fairly outdated.
|
These may or may not be installed already (`click` usually isn't). For Raspbian Wheezy this is the preferred approach, since current `apt` packages are fairly outdated.
|
||||||
|
|
|
@ -49,7 +49,7 @@ As of April 2016, the shipping versions with Raspbian are recent enough to run `
|
||||||
```bash
|
```bash
|
||||||
# as 'pi' user
|
# as 'pi' user
|
||||||
sudo apt install -y python-virtualenv python-pip git uwsgi uwsgi-plugin-python incron nginx
|
sudo apt install -y python-virtualenv python-pip git uwsgi uwsgi-plugin-python incron nginx
|
||||||
sudo pip install -U click click-repl
|
sudo pip install -U click
|
||||||
sudo reboot
|
sudo reboot
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ sudo apt-get update
|
||||||
sudo apt-get -y dist-upgrade
|
sudo apt-get -y dist-upgrade
|
||||||
sudo apt-get -y autoremove
|
sudo apt-get -y autoremove
|
||||||
sudo apt-get install -y tmux vim htop fail2ban uwsgi uwsgi-plugin-python uwsgi-plugin-python3 uwsgi-plugin-asyncio-python3 uwsgi-plugin-gevent-python uwsgi-plugin-tornado-python nginx incron libxml2-dev libxslt1-dev python-dev zlib1g-dev build-essential git python-virtualenv python-pip
|
sudo apt-get install -y tmux vim htop fail2ban uwsgi uwsgi-plugin-python uwsgi-plugin-python3 uwsgi-plugin-asyncio-python3 uwsgi-plugin-gevent-python uwsgi-plugin-tornado-python nginx incron libxml2-dev libxslt1-dev python-dev zlib1g-dev build-essential git python-virtualenv python-pip
|
||||||
sudo pip install -U click click-repl pip
|
sudo pip install -U click pip
|
||||||
sudo adduser --disabled-password --gecos 'PaaS access' --ingroup www-data piku
|
sudo adduser --disabled-password --gecos 'PaaS access' --ingroup www-data piku
|
||||||
|
|
||||||
# move to /tmp and grab our distribution files
|
# move to /tmp and grab our distribution files
|
||||||
|
|
Ładowanie…
Reference in New Issue