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

Problem running the app #26

Open
cloudkompute opened this issue Jan 25, 2018 · 5 comments
Open

Problem running the app #26

cloudkompute opened this issue Jan 25, 2018 · 5 comments

Comments

@cloudkompute
Copy link

Yesterday I had installed the VQ marketplace successfully. But when I run it from the browser, the backend server reports the error: "Accessing Undefined" This is displayed twice on the backend terminal. How can I fix this error?

Thanks

@nynevi
Copy link
Contributor

nynevi commented Jan 26, 2018

Hello,

Thank you for your interest in VQ-Marketplace.

We are refactoring the way the APP (API, WEB-APP) runs on systems such as the ENV variables being refactored into an .env file where you can specify those.

At the moment you can run the API by defining an ENV variable in your system named TENANT_ID which equals to your local marketplace name (which is your choice since it is on local environment) then create your marketplace using the restore scripts as specified in the README file (bear in mind that restore scripts also require TENANT_ID defined as env).

In the mean time we are refactoring repos (API, WEB-APP) so that they are more open-source friendly and environment-agnostic as well as rewriting some parts of README for easier setup.

If you still have troubles running the app with TENANT_ID, please wait until we release the refactored update the coming week. Please expect changes on README (as well as the way the apps are run via env variables) and also to restore scripts.

@cloudkompute
Copy link
Author

Thanks a lot for your detailed reply. Ok I will wait and hope that the instructions to install and run the app will bedetailed enough. Thank you once again,

@cloudkompute
Copy link
Author

Hello

Is the refactoring complete?

@nynevi
Copy link
Contributor

nynevi commented Mar 15, 2018

@coooolers Hello,

Sorry for the late reply. We have been busy lately but now you can pull the master branch and follow the README and hopefully you should be up and running.

We have tried to follow the best practices while refactoring.

  • Added dotenv package for easy environment setup
  • Added nodemon and debugging support for API repository as well as the dotenv package for easy setup
  • We have improved the documentation, trying to explain how to run the process. It may seem long but we wanted to make sure that Open Source fulfills its meaning

In any case you get stuck, please contact us through GitHub and we'll be happy to help.

@cloudkompute
Copy link
Author

Thanks a lot. I will try to install it soon

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

2 participants