Skip to content

Testing out the python falcon framework with pypy

Notifications You must be signed in to change notification settings

tizz98/falcon-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

falcon-testing

Testing out the Falcon framework & Cassandra. Using pypy 5.10.0.

Getting started

Installing pypy

pyenv install pypy3.5-5.10.0
pyenv install 2.7.13
pyenv virtualenv pypy3.5-5.10.0 falcon-testing 

Installing cassandra

brew update
brew install cassandra
brew services start cassandra

Setup cassandra keyspace

cqlsh

# then in cqlsh
CREATE KEYSPACE cqlengine WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 } AND DURABLE_WRITES = true ;

Set up code

git clone git@github.com:tizz98/falcon-testing.git
cd falcon-testing
pyenv local falcon-testing 2.7.13

Run the application

gunicorn app:app

# OR (for live code reloads)
gunicorn app:app --reload

# OR
python app.py

Testing the api

python client.py

About

Testing out the python falcon framework with pypy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages