- Download Python
- make sure you're in the project directory and download the packages like so:
pip install -r requirements.txt
Disregard below
- Install Anaconda * https://www.anaconda.com/download
- Create conda env * conda env create -f environment.yml
- Download geckodriver and add to path. Make sure to install Firefox if you don't have it as well.
* https://github.com/mozilla/geckodriver/releases
note: We used Katalon IDE brower plugin to easy generate some of python selenium statements the normal selenium IDE no longer supports Python code exports.
source activate new_councilmatic
source activate new_councilmatic
conda env update -f=environment.yml
source activate new_councilmatic
python -m ipykernel install --user --name new_councilmatic --display-name "new councilmatic"
### By Year and Search Words Example (2018)
python run_calendar.py -d 2018 -s "parking"
### Save as CSV Example (deprecated)
python run_calendar.py -d 2018 -s "parking" > parking2018.csv
### To create the web page
Run ScraperUpdate_AWS.sh on Amazon Server
# To run in jupyter notebook
jupyter notebook calendar.ipynb
# Web location of production site
https://oaklandcouncil.net