Hey there! I’m trying to add a astro website from github and put it on replit. How would I do this? Also, the repo is : https://github.com/sonicx180/DevShare
@RayhanADev also, I don’t want this to be a bounty
Use the “import from GitHub” button when creating the repl (If that does not work create a new node repl and connect to your repo after creation)
I tried both, but it didn’t work. I think I need to invite the person to see the problem. Unfortuantely, you said that your good with python, not node
I thought this was about GitHub?
yeah, but the problem is actually about node and npm and stuff. sry, I’m so confusing
1 Like
I was able to run this myself by:
- Importing the repo into a Repl. I had to manually choose the “Node.JS” template after pasting in the Github link
- Installing packages (
npm install
) - Running the Astro dev server while forcing it to listen on the public IP address using the
--host
flag
npx astro dev --host
ORnpm start -- --host
#3 is probably the one you need
For more info on this:
2 Likes
hallelujah. you are a savior.
2 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.