This setup process assumes an installation on Ubuntu
-
Install Anaconda Python
-
Install additional python packages
pip install s2sphere google-cloud-bigquery conda install redis-py pyarrow
-
Install and Configure Redis (Optional)
apt-get install redis-server
- Configure the Redis instance to be a LRU cache with
maxmemory-policy
set toallkeys-lru
- start Redis server
service redis-server start
-
Run
server.py
for a development server or connect it to a WSGI server.
- have integration test, unit test
- OODP
- logging - could be more careful
- behavior is correct, error-handling is correct
- analyze data in details
concerns
- a little bit hard for it to run on system. no documentation on the credentials and no build scripts for docker image.
- init.py usage is not up to standard
- date filter to have optional to put in cache
- unit test: could have better coverage