1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/build

28 lines
560 B
Text
Raw Normal View History

2015-10-19 13:04:49 +01:00
#!/usr/bin/env bash
2016-04-08 23:38:36 +01:00
if [ -z "$NVM_DIR" ]
then
NVM_DIR="$HOME/.nvm"
fi
. $NVM_DIR/nvm.sh
nvm install
nvm use
2015-10-19 13:04:49 +01:00
set -e
2016-04-21 17:16:03 +01:00
pyvenv env
2016-05-13 21:13:23 +01:00
env/bin/pip install -r requirements.txt
2016-01-02 00:05:01 +00:00
2016-05-30 17:40:41 +01:00
echo ">> Cleaning plugins..."
rm -rf pelican_plugins
echo ">> Installing Plugins"
2016-06-03 22:12:48 +01:00
git clone --recursive https://github.com/getpelican/pelican-plugins --depth=1 pelican_plugins/
2016-05-28 21:23:50 +01:00
2016-05-30 17:40:41 +01:00
echo ">> Hot fixing..."
rm -rf pelican_plugins/pelican-jinja2content
2016-06-03 22:12:48 +01:00
git clone https://github.com/RealOrangeOne/pelican-jinja2content -b patch-1 --depth=1 pelican_plugins/pelican-jinja2content
2016-05-17 17:58:04 +01:00
2015-10-19 13:04:49 +01:00
npm install