Testing out the Falcon framework & Cassandra. Using pypy 5.10.0.
pyenv install pypy3.5-5.10.0
pyenv install 2.7.13
pyenv virtualenv pypy3.5-5.10.0 falcon-testing
brew update
brew install cassandra
brew services start cassandra
cqlsh
# then in cqlsh
CREATE KEYSPACE cqlengine WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 } AND DURABLE_WRITES = true ;
git clone git@github.com:tizz98/falcon-testing.git
cd falcon-testing
pyenv local falcon-testing 2.7.13
gunicorn app:app
# OR (for live code reloads)
gunicorn app:app --reload
# OR
python app.py
python client.py