# installing srht into a virtualenv -rw-r--r-- 501 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cd projects
mkdir test
mkvirtualenv --python=`which python3` test

git clone https://git.sr.ht/\~sircmpwn/git.sr.ht git
git clone https://git.sr.ht/\~sircmpwn/scm.sr.ht scm
git clone https://git.sr.ht/\~sircmpwn/core.sr.ht core

cd core
git submodule init
git submodule update

cd ../git
make

cd ..
export SRHT_PATH=~/projects/test/core/srht
pip install -e core
pip install -e scm
pip install -e git

# install dependecies missing from setup.py
pip install redis alembic celery

cd git
python run.py