byceps-instalation/BYCEPS-Instalation.md

38 lines
507 B
Markdown

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 .
```