Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neverstew/alexorpj
The biggest Reply All question of all time.
https://github.com/neverstew/alexorpj
Last synced: about 2 months ago
JSON representation
The biggest Reply All question of all time.
- Host: GitHub
- URL: https://github.com/neverstew/alexorpj
- Owner: neverstew
- Created: 2019-07-31T12:58:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:57:24.000Z (about 2 years ago)
- Last Synced: 2023-05-20T18:55:44.540Z (over 1 year ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Alex Or PJ?
===========This is the application that hosts the Alex or PJ functionality on the web. This
README documents how to get things up and running.# Development
In order to get the application to run, there are a couple of steps.## Virtual env
As per usual, you need to create a virtual environment and install dependencies. I'm
not going to cover that here.## Env Vars
The app needs a number of env vars to be passed to it in order to function. It's set up
to grab these from a `.env` file in the root directory. Create this file and add entries
to it for```
SECRET_KEY=
TWITTER_CONSUMER_TOKEN= #from the twitter app
TWITTER_CONSUMER_SECRET= #from the twitter app
```## Running the app
To run the application, execute the following command in the root directory.```
gunicorn --pythonpath src app:app --reload
```## Testing
Run the test suite with
```
pytest src
```