Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CoNekT/docs/install_linux.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
53 lines (29 sloc)
1.16 KB
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
# CoNekt Linux Installation | |
## Getting Started | |
Python >= 3.3 and pip3 are required | |
sudo apt-get install python3 | |
sudo apt-get install pip3 | |
Install virtualenv | |
sudo pip3 install virtualenv | |
Clone the repository into a directory CoNekt | |
git clone https://github.molgen.mpg.de/proost/CoNekt CoNekt | |
Set up the virtual environment | |
virtualenv --python=python3 CoNekt/ | |
Activate the virtual environment | |
cd PlaNet/ | |
source bin/activate | |
Install the requirements | |
pip3 install -r requirements.txt | |
Copy the configuration template to config.py | |
cp config.template.py config.py | |
Change settings in config.py. **Apart from configuring paths, also change the secret key and the admin password !** | |
Build initial database | |
# Point flask to the right script | |
export FLASK_APP=run.py | |
# Create the DB (with the initial admin account) | |
flask initdb | |
# Set up the migration | |
flask db init | |
# Optional, create additional admin accounts | |
flask add_admin <new_username> <new_password> | |
You now have a fresh installation of CoNekt. How to fill it with your data is included in the section [Building CoNekt](building_conekt.md) |