{"id":13670998,"url":"https://github.com/tensorchord/envd-server","last_synced_at":"2025-04-27T13:33:23.563Z","repository":{"id":61624813,"uuid":"539365056","full_name":"tensorchord/envd-server","owner":"tensorchord","description":"Backend server for envd","archived":false,"fork":false,"pushed_at":"2023-12-18T02:17:46.000Z","size":958,"stargazers_count":20,"open_issues_count":20,"forks_count":13,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-06T00:11:15.340Z","etag":null,"topics":["hacktoberfest","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tensorchord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-09-21T07:40:09.000Z","updated_at":"2025-01-16T10:28:53.000Z","dependencies_parsed_at":"2024-04-01T00:42:48.831Z","dependency_job_id":null,"html_url":"https://github.com/tensorchord/envd-server","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fenvd-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fenvd-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fenvd-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fenvd-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorchord","download_url":"https://codeload.github.com/tensorchord/envd-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251145821,"owners_count":21543101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","kubernetes"],"created_at":"2024-08-02T09:00:55.424Z","updated_at":"2025-04-27T13:33:18.526Z","avatar_url":"https://github.com/tensorchord.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# envd-server\n\nenvd-server is the backend server for `envd`, which talks to Kubernetes and manages environments for users.\n\n## Install\n\n```bash\nhelm install --debug envd-server ./manifests\n# skip 8080 if you're going to run the envd-server locally\nkubectl --namespace default port-forward service/envd-server 8080:8080 \u0026\nkubectl --namespace default port-forward service/envd-server 2222:2222 \u0026\n```\n\nTo run the envd-server locally:\n\n```bash\nmake build-local\n./bin/envd-server --kubeconfig $HOME/.kube/config --hostkey manifests/secretkeys/hostkey\n```\n\n## Usage\n\n```bash\nenvd context create --name server --runner envd-server --runner-address http://localhost:8080 --use\nenvd login\nenvd create --image gaocegege/test-envd\n```\n\n# Development Guide of Dashboard\n\n## Build\n\nEnter into [`./dashboard`](./dashboard) directory to develop just like normal vue application.\n\nIf you want to build envd-server with dashboard\n\n```bash\npushd dashboard\nnpm install\nnpm run build\npopd\n DASHBOARD_BUILD=release make build-local\n```\n\nWhen envd-server is running, you can visit [http://localhost:8080/dashboard](http://localhost:8080/dashboard) to see it.\n\n## Develop locally\n\n- Port forward the postgresql service to local\n\n```bash\nkubectl port-forward svc/postgres-service 5432:5432\n```\n- Setup environment variable\n```bash\nexport KUBECONFIG=~/.kube/config\nexport ENVD_DB_URL=postgres://postgresadmin:admin12345@localhost:5432/postgresdb?sslmode=disable\n```\n- Run envd-server locally\n```bash\n./bin/envd-server --debug --no-auth # Remove no-auth if auth is needed\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fenvd-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorchord%2Fenvd-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fenvd-server/lists"}