forked from ncbi/histonedb
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corrected setup intructions for py37
- Loading branch information
1 parent
a47a7eb
commit a4d0369
Showing
2 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# System Setup | ||
yes Y | sh system_setup/sys_requirements_setup.txt | ||
yes Y | sh system_setup/sys_requirements.txt | ||
sudo sed -i '$a wait_timeout = 31536000' /etc/mysql/mysql.conf.d/mysqld.cnf | ||
sudo sed -i '$a interactive_timeout = 31536000' /etc/mysql/mysql.conf.d/mysqld.cnf | ||
echo 'System setup complete.' | ||
|
||
# Python Requirements Setup | ||
virtualenv histdb_py27 | ||
source histdb_py27/bin/activate | ||
echo 'Virtualenv created and set to histdb_py27.' | ||
virtualenv -p python3.7 venv_histdb_py37 | ||
source venv_histdb_py37/bin/activate | ||
echo 'Virtualenv created and set to venv_histdb_py37.' | ||
#yes Y | sh system_setup/py_requirements_setup.txt | ||
pip install --yes --no-cache-dir -r system_setup/py_requirements.txt | ||
echo 'Python setup complete.' | ||
|
||
sudo systemctl restart mysql | ||
sudo service apache2 restart | ||
sudo service apache2 restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters