Be sure to use your local profile for development with:
lein with-profile local ring server
The server is manually configured with the required System properties in the AWS console. Therefore, the top entry of src/purple/config.clj only sets vars when the environment is "test" or "dev".
Use lein-beanstalk to deploy to AWS ElasticBeanstalk (you must first set up your ~/.lein/profiles.clj with AWS creds):
lein beanstalk deploy api-dev
Generally, try to follow: https://github.com/bbatsov/clojure-style-guide
Try to keep lines less than 80 columns wide.
Copyright © 2016 Purple Services Inc