Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document and fix development, staging and production configuration #44

Open
rngadam opened this issue Aug 16, 2018 · 0 comments
Open

Document and fix development, staging and production configuration #44

rngadam opened this issue Aug 16, 2018 · 0 comments

Comments

@rngadam
Copy link
Contributor

rngadam commented Aug 16, 2018

  • In development, we want to be able to point to the local environment
  • Staging is to http://dev.scry.info/
  • Production will be something else

Right now, this is set in scry-frontend/src/Components/Remote.js:

const dev = false;

export const API = dev ? 'http://localhost:1234' : 'https://dev.scry.info/scry2';

export const Publisher = dev ? 'http://localhost:2222' : 'https://dev.scry.info:443/meta';

not suitable. should be picking up from a .json file (perhaps served from public) and be selectable in frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant