added BYCEPS Instalation.md
This commit is contained in:
commit
c615845f1b
37
BYCEPS-Instalation.md
Normal file
37
BYCEPS-Instalation.md
Normal file
@ -0,0 +1,37 @@
|
||||
BYCEPS Instalation
|
||||
===
|
||||
|
||||
# root user
|
||||
```bash
|
||||
$ groupadd byceps
|
||||
$ usermod -a -G byceps USER
|
||||
```
|
||||
|
||||
```bash
|
||||
$ mkdir /svr/byceps
|
||||
```
|
||||
|
||||
```bash
|
||||
chown byceps:USER /srv/byceps
|
||||
```
|
||||
|
||||
```bash
|
||||
apt install git postgresql python3 python3-dev python3-venv redis-server nginx uwsgi
|
||||
```
|
||||
# normal user
|
||||
|
||||
```bash
|
||||
$ cd //srv
|
||||
$ git clone https://github.com/byceps/byceps.git
|
||||
```
|
||||
|
||||
```bash
|
||||
$ $ . ./venv/bin/activate
|
||||
```
|
||||
|
||||
```bash
|
||||
(venv)$ pip install --upgrade pip
|
||||
(venv)$ pip install -r requirements.txt
|
||||
(venv)$ pip install -e .
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user