Setup Development Environment - KnowledgeLinks/alliance-bibcat GitHub Wiki
- 
Download and install the latest Python 3 distribution (currently 3.6) from the Python website. 
- 
Create and Activate a Python Virtual Environment for Development from your OS command-line python -m venv py3-dev source py3-dev/bin/activate # for Linux and MacOS py3-env\Scripts\activate # for Windows
- 
Clone Alliance BIBCAT source code repository git clone https://github.com/KnowledgeLinks/alliance-bibcatChange to that directory cd alliance-bibcat
- 
Init and Update the BIBCAT and RDFW submodules git submodule init git submodule update
- 
Change to the developmentbranch and pull in latest changesgit checkout -b development git pull origin development
- 
Install Python Dependencies using pippip install -r requirements.txt
- 
Make an instancedirectory for development configurationmkdir instance
- 
Create a config.pyfiletouch config.py
- 
Open config.pyin a text editor and the following lines to the top of the file:import os import sys sys.path.append(os.path.abspath(os.path.dirname(__file__))) from example_instance.config import *
- 
Add these configuration values to config.py