Getting your website deployed is probably the first thing you want to do and with these 5 sites, you can do it in just minutes.
Firebase
With Firebase hosting, you can deploy web apps - both static and dynamic content by a single command.
Step 1. Install the Firebase CLI
Step 2. Sign into Firebase
Step 3. Navigate into your project
Step 4. Prepare your site
Step 5. Deploy
Netlify
Netlify supports GitHub, GitLab and Bitbucket, it will redeploy the site just by pushing the code without manually rebuild.
Step 1. Login to Netlify and select New site from git
Step 2. Choose your repository and configure settings with options:
- Branch to deploy, default
master
- Build Command, default
npm run build
- Publish directory, default
public
, but it is usuallypublic
,dist
,build
,âŠ
Step 3. Select Deploy site
Render
With Render, you can host static sites, backend APIs, databases, cron jobs, and all your other apps in one place.
Step 1. Login to Render and create a new Web Service and give access to your repository
Step 2. Enter your settings
- Environment: Static Site
- Build Command: e.g npm run build
- Publish Directory: e.g public, dist, build,âŠ
Step 3. Select Create Web Service
Surge
Surge is a cloud platform to publish static web for Front-End Developers.
Step 1. Install the surge CLI
Step 2. Build your site
Step 3. Deploy your site providing your Publish Directory
Vercel
Vercel is a cloud platform for websites and serverless APIs, free and easy to use
Step 1. Install the Vercel CLI
Step 2. Deploy
Conclusion
Deploy and hosting is fast and easy.