Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tizz98/falcon-testing
Testing out the python falcon framework with pypy
https://github.com/tizz98/falcon-testing
cassandra falcon falcon-api falcon-framework pypy
Last synced: 9 days ago
JSON representation
Testing out the python falcon framework with pypy
- Host: GitHub
- URL: https://github.com/tizz98/falcon-testing
- Owner: tizz98
- Created: 2018-01-20T23:42:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:55:41.000Z (almost 2 years ago)
- Last Synced: 2024-04-22T15:22:49.511Z (7 months ago)
- Topics: cassandra, falcon, falcon-api, falcon-framework, pypy
- Language: Python
- Size: 9.77 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# falcon-testing
Testing out the [Falcon framework](http://falconframework.org/) & Cassandra. Using pypy 5.10.0.
## Getting started
### Installing pypy
```bash
pyenv install pypy3.5-5.10.0
pyenv install 2.7.13
pyenv virtualenv pypy3.5-5.10.0 falcon-testing
```### Installing cassandra
```bash
brew update
brew install cassandra
brew services start cassandra
```### Setup cassandra keyspace
```bash
cqlsh# then in cqlsh
CREATE KEYSPACE cqlengine WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 } AND DURABLE_WRITES = true ;
```### Set up code
```bash
git clone [email protected]:tizz98/falcon-testing.git
cd falcon-testing
pyenv local falcon-testing 2.7.13
```### Run the application
```bash
gunicorn app:app# OR (for live code reloads)
gunicorn app:app --reload# OR
python app.py
```### Testing the api
```bash
python client.py
```