Giter Club home page Giter Club logo

deploy-static-website's Introduction

Roadmap to deploy static website using HEROKU and NETLIFY

What is HEROKU

Heroku is a cloud platform as a service supporting several programming languages. One of the first cloud platforms, Heroku has been in development since June 2007, when it supported only the Ruby programming language, but now supports Java, Node.js, Scala, Clojure, Python, PHP, and Go ect

What is Netlify

Netlify is a San Francisco-based cloud computing company that offers hosting and serverless backend services for web applications and static websites. Both are PaaS services

Difference between HEROKU and Netlify

Netlify is an automation platform for web projects that is focused toward frontend developers. The main features include continuous integration out of the box, free SSL, and CDN. The platform is great of the easy of use, fast deployment, and continuous integration.

Heroku helps developers to build, run, and operate applications entirely in the cloud. It is focused toward backend development and allows web/mobile projects deployment. The main features include pre configured containers called Dynos and a fully-managed runtime environment. Advantages are the scalability and security protocols. simply – Netlify is focused towards frontend development – Heroku is focused towards backend developers – Netfliy is ideal for web projects – Heroku works with web and mobile apps – Netlify provides continuous integration out of the box – Heroku has the option to turn CI on

Deploy static website using Heroku

use simple PHP wrap as shown in index.php

keep all your index.html page and other images in a folder and upload into github main branch

create HEROKU paid/free account, then configure github in HEROKU finally deploy the static website

HEROKU is pretty easy to deploy and manage websites and other apps

Conclusion

Just fork/download my files keep in your git hub master branch tehn create account in HEROKU and configure with github then deploy you will get deployed web link as shown

HEROKU deployment screen short1

create app and search your github repo as sown below and otherize

heroku

Choose automatic deployment or manual deployment

For automatic deployment make sure - enable continuous integration services in your github repository, so for every change in your code will reflect in your website

HEROKU deployment screen short2

have two options to deploy Automatic and Manual deployment,Here I have choosen Automatic deployment. click on Deploy button it will take few seconds/minuits tehn will give you web link - click on View button...

You can see your deployed website - https://mystaticwebsite-link.herokuapp.com/index.html

heroku2

*Note Given simple HTML code - sincle I am focusing only on static webpage deployment - u can deploy your own webiste with out using my code dont change PHP wrapper code format some times images wont load since it's an free quota, make chnges in image size accordingly

Deployed usisng Netlify

Easy to deploy static website using Netlify - used same code, autorize github from netlify and deploy your website simply netlify

This is the deployed web link

deploy-static-website's People

Contributors

asha-ai avatar ashaicy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.