{"id":20737434,"url":"https://github.com/gatecloud/router-config","last_synced_at":"2026-04-21T00:31:20.103Z","repository":{"id":103169438,"uuid":"140504734","full_name":"gatecloud/router-config","owner":"gatecloud","description":"A tool for routing file configuration","archived":false,"fork":false,"pushed_at":"2019-09-11T03:05:25.000Z","size":597,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T01:25:24.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gatecloud.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,"publiccode":null,"codemeta":null}},"created_at":"2018-07-11T01:17:24.000Z","updated_at":"2020-08-10T15:33:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdc6e036-438f-46eb-aafc-f019da715852","html_url":"https://github.com/gatecloud/router-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatecloud%2Frouter-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatecloud%2Frouter-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatecloud%2Frouter-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatecloud%2Frouter-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gatecloud","download_url":"https://codeload.github.com/gatecloud/router-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243024064,"owners_count":20223537,"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":[],"created_at":"2024-11-17T06:14:29.940Z","updated_at":"2025-12-25T00:13:23.882Z","avatar_url":"https://github.com/gatecloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# router-config\nA tool for routing file configuration\n\n\n## Usage\n\n### On-premise\n\nMake sure that you have Chrome in your computer before running the `router-config.bat` file  \n\n\n\n## How to deploy into a cloud docker manually\n\n\n\n1. Compile the program in the local virtual machine within golang environment.  \nYou can use the command `CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o \u003cname\u003e .` to specify the executable file's name  \n2. Create a project folder in the target EC2.For example `/ubuntu/roconfig`  \n3. Copy the executable file (e.g. `roconfig`), docker-compose file, Dockerfile and other javascript or css files into the folder which is created in the step 2\n4. Modify the permission of the folder and the file. The commands are \n```\nsudo chown -R ubuntu:ubuntu roconfig\nsudo chmod 400 roconfig\n```\n5. Build docker image by the command `docker build -t image-roconfig:latest .`  \n6. Run the docker image. `sudo docker-compose up -d`\n\n\n\n## Other configuration  \n\nIn order to run the program smoothly after deployment, we need to update the URL in `/public/xx.js` files  \n\n### PostgreSQL configuration  \n\n1. Install postgreSQL into the target server  \n2. Go to `cd /etc/postgresql/10/main/pg_hba.conf` to configure the allowed IPv4 address  \n3. Go to `cd /etc/postgresql/10/main/postgresql.conf` to open all listening port  \n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatecloud%2Frouter-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgatecloud%2Frouter-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatecloud%2Frouter-config/lists"}