conwnet / github1s

One second to read GitHub code with VS Code.
https://github1s.com
MIT License
22.89k stars 871 forks source link

How to run other scm in my local dev? #470

Open wd2010 opened 1 year ago

wd2010 commented 1 year ago

In my local runtime, I use yarn watch to run github, But i want to use gitlab, how to run or what command to use?

welcome[bot] commented 1 year ago

Hello there!👋 Welcome to the project!💖 Thank you and congrats🎉for opening your very first issue in this project.Be patient while we get back to you.😄

github-actions[bot] commented 1 year ago

Hello there wd2010 👋

Welcome to github1s !!💖🥳

Thank you and congratulations 🎉 for opening your very first issue in this project. github1s fosters an open and welcoming environment for all our contributors.🌸

Incase you want to claim this issue, please comment down below! We will try to get back to you as soon as we can.👀

Feel free to visit github1s.com. 👩‍💻 If you have any interesting ideas, just open an issue. We would love to hear you and engage in discussions.

conwnet commented 1 year ago

You can add a entry in /etc/hosts:

127.0.0.1 gitlab1s.com

The relevant code is implemented here: https://github.com/conwnet/github1s/blob/a91c7f3fdcf7ee66afe9f6596da5c53c3d1180b8/resources/initialize.js#L54-L71