diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-04-07 11:47:31 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-04-07 11:47:31 +0200 |
commit | 3e06cc5a744b5ff1127bce44766f860b0f9ffa7f (patch) | |
tree | a1e9848d618a33e036f411b739db0b83f40781d7 /install.sh | |
parent | bootstrap is no longer deployed as a submodule (diff) | |
download | newspipe-3e06cc5a744b5ff1127bce44766f860b0f9ffa7f.tar.gz newspipe-3e06cc5a744b5ff1127bce44766f860b0f9ffa7f.tar.bz2 newspipe-3e06cc5a744b5ff1127bce44766f860b0f9ffa7f.zip |
no more submodule for bootstrap
Diffstat (limited to 'install.sh')
-rw-r--r-- | install.sh | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -12,6 +12,7 @@ sudo apt-get install -y libxml2-dev libxslt1-dev > /dev/null # for lxml sudo apt-get install -y libssl-dev openssl > /dev/null # for pip + PYTHON_VERSION=3.6.1 echo "Installation of Python..." if [ "$1" == postgres ]; then @@ -33,7 +34,6 @@ sudo rm -Rf Python-$PYTHON_VERSION/ - PYTHON_VERSION=3.6 echo "Installing required Python libraries..." sed -i '/psycopg2/d' requirements.txt > /dev/null @@ -42,7 +42,6 @@ sudo pip$PYTHON_VERSION install --upgrade -r requirements.txt > /dev/null - # Initializes the configuration file cp src/conf/conf.cfg-sample src/conf/conf.cfg # Delete default database configuration @@ -51,7 +50,6 @@ sed -i '/database_url/d' src/conf/conf.cfg - # Configuration of the database if [ "$1" == postgres ]; then echo "Installing requirements for PostgreSQL..." @@ -78,22 +76,12 @@ fi - echo "Initialization of the database..." python$PYTHON_VERSION src/manager.py db_empty python$PYTHON_VERSION src/manager.py db_create - -# Bootstrap -echo "Retrieving bootstrap..." -git submodule init > /dev/null -git submodule update > /dev/null - - - - echo "Installation terminated." echo "Launch Newspipe with the command:" echo -e "\tpython$PYTHON_VERSION src/runserver.py" |