request-yo-racks / api

A REST API for the Request-Yo-Racks projects.
https://api.requestyoracks.org
MIT License
0 stars 4 forks source link

Make environments more similar #47

Closed rgreinho closed 6 years ago

rgreinho commented 6 years ago

Types of changes

Description

Makes the local environment more similar to the production one by using gunicorn to serve the api, as well as setting up CORS and ALLOWED_HOSTS settings to specific values rather than "all" (i.e. "*").

Motivation and Context

Being able to reproduce production errors in the development environment more easily.

How Has This Been Tested?

By running the developer environment locally.

Checklist: