Master repository to manage LawHub project development environment
- pyenv
- pipenv
mkdir lawhub && cd lawhub
git clone https://github.com/lwhb/lawhub-dev.git
You can use a different root directory name instead of lawhub if you want.
echo "export LAWHUB_ROOT=$PWD" >> ~/.bash_profile
echo "export LAWHUB_DATA=$PWD/data" >> ~/.bash_profile
You can use a diffrent a directory for LAWHUB_DATA, under which crawled/processed data will be stored.
cd lawhub-dev
pipenv install
pipenv shell
./init.sh
This will clone all the sub repositories under lawhub directory: lawhub , lawhub-xml, lawhub-spider, lawhub-tool, lwhb.github.io
- open lawhub-dev
- File -> Project Structure -> Project SDK and select Pipfile as Python interpreter
- File -> Project Structure -> Modules and import repositories for development: lawhub-spider, lawhub-tools and lwhb.github.io