setup 329 Bytes
Newer Older
Vincent Mazenod's avatar
Vincent Mazenod committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]:-$0}" )/.." && pwd )"

if [[ ! -d "${DIR}/.venv" ]] ; then
  virtualenv -p /usr/bin/python3 "${DIR}/.venv"
fi

source "${DIR}/.venv/bin/activate"
pip install -r requirements.txt

git submodule init
git submodule update --recursive --remote

cd content && npm install