42 lines
539 B
Markdown
42 lines
539 B
Markdown
BYCEPS Instalation
|
|
===
|
|
|
|
# root user
|
|
```bash
|
|
$ addgroup 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
|
|
python3 -m venv venv
|
|
```
|
|
|
|
```bash
|
|
$ . ./venv/bin/activate
|
|
```
|
|
|
|
```bash
|
|
(venv)$ pip install --upgrade pip
|
|
(venv)$ pip install -r requirements.txt
|
|
(venv)$ pip install -e .
|
|
```
|
|
|