- You will need python installed on your development machine.
- Check version with python --version
- Ask the webmaster for the credentials.json, the API key for this service, and the development google file id
- Clone the repository
- Navigate to your project directory in git bash
- Run
pip install virtualenv
and thenvirtualenv env
- Activate your virtualenv by running
./env/Scripts/activate
- Install the dependencies for this project by running
./env/Scripts/pip install -r requirements.txt
- Place the credentials.json in your project directory and run
export GOOGLE_APPLICATION_CREDENTIALS="$(< credentials.json)"
- Run
export API_KEY="<API Key Here>"
- Run
export GOOGLE_FILE_ID="<File Id Here>"
- To check that the environment variables have been applied correctly run
echo $GOOGLE_APPLICATION_CREDENTIALS
,echo $API_KEY
, andecho $GOOGLE_FILE_ID
- To run the service locally run
./scripts/debug.sh
and navigate to http://localhost:5000 in your preferred browseer and follow the API documentation to call a various endpoint. - To run all unit tests run
./scripts/test.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
msoe-sse/sse-web-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published