First release of Dublin Bikes Bike Finder.
To run:
-
install all requirements
pip install -r requirements.txt
-
Place a valid
config.config
andkeys.config
files in the src directory. -
In src, enter the following command
python runserver.py
You will be prompted to enter a port number (if you want to use the port number between 0 and 1023, you have to be the super user of your system.) The server will look for a model.pikl file. If no such file is found, a model will be automatically built and saved. Enter a port number to select what port the server will run on.
-
(Optional) In src, run python runscraper.py to run the webscraper
-
(Optional) In src, run python updatemodel.py to update the model.