Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.83 KB

README.md

File metadata and controls

56 lines (44 loc) · 1.83 KB

Serenity Customer Support Service

Build Status

About

Microservice bridging Serenity's support desk on Zoho with our decentralized apps.

Setup

Packages are installed and managed by poetry. To install poetry (linux/OSX) run the following command:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python

Detailed setup instructions for poetry are available here

Dependencies for the project are available at ./pyproject.toml. Install dependencies with:

poetry install

The package structure is yet to be finalized. Check back in a week or contact Chris Dare to learn more.

Launching: Running the service

Running locally

Make sure you have docker installed Run the bash script startup.sh if on linux:

$ bash startup.sh

Or use docker directly:

docker-compose build
docker-compose up -d

This service runs on host port 80. If you'd like to change the port, bind a different port to the docker app in ./docker-compose.yml

Development

A development instance of this server is currently available on AWS at the time of this writing.

Link: http://serenity-customer-support-dev.us-east-1.elasticbeanstalk.com/

If you need to deploy a new development instance, consider using heroku or AWS. Here are instructions to deploy to EB2:

eb init
eb create
eb setenv env_key=env_value env_key2=env_value2 and=so_on
eb deploy

Refer to ./env.sample for a list of all required environment variables