This repository was archived by the owner on Oct 25, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Python PyPI:
4545# Install binary dependencies on Ubuntu
4646```
4747sudo apt install mysql-server libmysqlclient-dev python-pip python-dev
48- sudo apt install solr-common libglpk-dev glpk-utils
48+ sudo apt install apache2 solr-common libglpk-dev glpk-utils
4949```
5050
5151# Install missing Python dependencies from PyPI
@@ -61,15 +61,15 @@ mysql> GRANT ALL PRIVILEGES ON *.* TO '<MYSQLUSR>'@'localhost';
6161mysql> CREATE DATABASE <MYSQLDB>;
6262mysql> exit;
6363```
64+ * Replace the appropriate database name (` <MYSQLDB> ` ), username (` <MYSQLUSR> ` )
65+ and password (` <MYSQLPWD> ` ) in settings.py.
6466
6567# Configure Solr
6668```
6769sudo cp solr/schema.xml /etc/solr/conf/
68- sudo /etc/init.d/tomcat7 restart
70+ sudo /etc/init.d/tomcat8 restart
6971```
70-
71- * Replace the appropriate database name (` <MYSQLDB> ` ), username (` <MYSQLUSR> ` )
72- and password (` <MYSQLPWD> ` ) in settings.py.
72+ * Make sure solr is running by going to http://127.0.0.1:8983/solr/
7373* Run ` python manage.py migrate --run-syncdb ` to build database schema.
7474* Run ` python db_load_from_sqldump.py ` to load the data into the database.
7575* (optional) instead of ` db_load_from_sqldump ` , you can use ` db_load_from_raw_files `
You can’t perform that action at this time.
0 commit comments