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

How to deploy this on vercel or run it locally #397

Open
myworldbox opened this issue Apr 2, 2022 · 8 comments
Open

How to deploy this on vercel or run it locally #397

myworldbox opened this issue Apr 2, 2022 · 8 comments

Comments

@myworldbox
Copy link

myworldbox commented Apr 2, 2022

Hey, I am kinda a newbie, would like to ask you guys how can I enter / deploy the same website as github1s.com on vercel or heroku. After running yarn, yarn build, yarn dev. The page served on localhost://5000 is like the below photo only. Even if I add localhost:5000/myrespo/myfolder, nothing is being shown.

Screenshot 2022-04-02 114103

@welcome
Copy link

welcome bot commented Apr 2, 2022

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
Copy link

github-actions bot commented Apr 2, 2022

Hello there myworldbox 👋

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.

@xcv58
Copy link
Collaborator

xcv58 commented Apr 2, 2022

Hi @myworldbox,

Can you double-check whether you are following this step:

git clone [email protected]:conwnet/github1s.git
cd github1s
yarn
yarn watch
yarn serve # in another shell

And you might need to wait for the yarn watch to be finished before run yarn serve in another shell.

It will look like this:

image

@myworldbox
Copy link
Author

hey thank you for your help, the issue is because I use window, I have to change rm to del "watch": "del -rf dist && run-p watch:*"

@myworldbox
Copy link
Author

your respo is epic btw!

@myworldbox
Copy link
Author

yarn run v1.22.17
$ DEV_VSCODE=true run-p watch watch-vscode
'DEV_VSCODE' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@xcv58
Copy link
Collaborator

xcv58 commented Apr 3, 2022

I think all the instructions are for macOS or *nix system.

I think you can use one of the below ways:

  1. Use WSL to run a linux environment on your windows machine: https://docs.microsoft.com/en-us/windows/wsl/about
  2. Use the docker way to develop this project https://github.com/conwnet/github1s#-or--vs-code--docker-development

How to deploy this on vercel

For this one, you can just fork this project and create/link a project to your forked repo. Vercel should automatically deploy it (you might need to push a commit to trigger the initial deploy)

@myworldbox
Copy link
Author

Thank you for your effort and help, I will try!

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