question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment with Surge or similar

See original GitHub issue

Right now I just ran the program, did npm run build, and then surge -p build. Five seconds later I can show this to others:

https://highfalutin-sofa.surge.sh

I can also customize the URL to whatever I want (if available).

I feel like this is a great feature that could be added—one command, no config deployments. Imagine you’re learning React and did something cool and want to share it but have no idea what Heroku, Digital Ocean, etc. are. This did it for you!

surge can be added as a dev dependency and a deploy script can be added that would be npm run build && surge -p build.

What do you think?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:24 (11 by maintainers)

github_iconTop GitHub Comments

6reactions
gaearoncommented, Jul 22, 2016
4reactions
vjeuxcommented, Jul 22, 2016

So good! We’ve thought about adding upload to gh pages as well. Need to figure out how to integrate it with the experience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Surge
Blends with your build tool. Surge augments the tools you already love. Deploy using your favourite build tool, like Grunt, Gulp, or through...
Read more >
surge.sh Alternatives - AlternativeTo
The best surge.sh alternatives are GitHub Pages, Neocities and Carrd. Our crowd-sourced lists contains more than 10 apps similar to surge.sh ...
Read more >
Surge VS GitHub Pages: How to deploy a create-react-app ...
Add an email and password, then hit enter. You'll then see output similar this: To deploy your project, Surge only needs two things...
Read more >
What are some alternatives to Surge? - StackShare
Top Alternatives to Surge · Wave. It is a free, online software alternative to Quickbooks. · Vault. Vault is a tool for securely...
Read more >
Surge quick guide - deploy website in literally 2 minutes
I was so excited to learn about Surge.sh which is an amazing service to deploy your static sites in literally minutes.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found