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

Dev Setup #378

Open
jppianta opened this issue Jan 22, 2020 · 4 comments
Open

Dev Setup #378

jppianta opened this issue Jan 22, 2020 · 4 comments

Comments

@jppianta
Copy link

jppianta commented Jan 22, 2020

Describe the bug
I am new to the repo and I am trying to setup my machine for development. I managed to add all the dependencies although I have some doubts about the python 2.7 requirement and why there is no Pipfile in the repo.

I am trying to start the api service with command ./ib.py services start api, but I am getting a maximum recursion depth exceeded under super(SSLContext, SSLContext).options.__set__(self, value). The storage and dashboard-client services start normally.

Desktop (please complete the following information):

  • OS: Mac OS Catalina 10.15.2
@meranos
Copy link
Contributor

meranos commented Jan 23, 2020

The dev documentation in this repo needs to be updated. On linux machines we're using k3s to create a local single node cluster and deploy infrabox using run_k3s.sh.
Sadly there's no k3s for Mac OS, but the kubernetes feature of Docker Desktop is a good substitute.
I did the necessary modifications to run_k3s at the osx-dev branch and created a gist with some instructions here.

@jppianta
Copy link
Author

Thank you for the help. I managed to deploy it with Docker Desktop. I am only having an issue with the dashboard-client that I don't know how to solve. When I print the logs from the static pod I get the following error after the > Listening at http://localhost:8080 message:

(node:79) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Exited with code 3
(node:79) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@meranos
Copy link
Contributor

meranos commented Jan 29, 2020

These warnings should at least not cause major issues.
What's going wrong with the dashboard?

@jppianta
Copy link
Author

I have nothing on my localhost:8080. I don't think it is just a warning, it says it exited with code 3. When I run the ui outside the cluster I get no errors.

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