From 3e06cc5a744b5ff1127bce44766f860b0f9ffa7f Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 7 Apr 2017 11:47:31 +0200 Subject: no more submodule for bootstrap --- install.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/install.sh b/install.sh index e84cfc76..a561979d 100644 --- a/install.sh +++ b/install.sh @@ -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" -- cgit