Deployment with Surge or similar
See original GitHub issueRight 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:
- Created 7 years ago
- Reactions:4
- Comments:24 (11 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I vote for GH pages. But we need to fix the “root URL” issue for them:
https://github.com/facebookincubator/create-react-app/blob/cb7b9583b9d2722afee9dfdac084a64cd4cb177b/config/webpack.config.prod.js#L38-L40
So good! We’ve thought about adding upload to gh pages as well. Need to figure out how to integrate it with the experience.