Giter Club home page Giter Club logo

douglas-fuelber-gatsby's Introduction

README

Netlify Status

This document has the objetive to describe the steps to run and publish the project


Setting up local environment

Requirements

  • Git
  • NodeJS
  • GatsbyJS

Cloning the repository

  • Create a folder to store the project
  • Initiate Git in it
        git init
  • Clone the repository and access it
        git clone https://github.com/DouglasFuelber/douglas-fuelber-gatsby.git
  • Install project dependencies
        npm install

Configuring Netlify

To store the live site we use Netlify.

There we set up a branch of our reposity to be watched, this way, everytime a commit is pushed into this branch, it will be published.

To see how to configurate Netlify properly access the documentation


Development

As the master branch is watched to provide a continuous deployment proccess, we need to create a developement branch.

  • Branch the repository
        git checkout -b [name_of_your_development_branch]
  • To be sure that your local has the same updated code version that your remmote, execute:
        git pull origin [name_of_your_development_branch]
        npm run dev
  • After changes are made, stage, commit and push your files to your new branch
        git add .
        git commit -m [your_message]
        git push origin [name_of_your_development_branch]
  • This proccess can be done as many times you wish

Publish site

After you have made all the changes that you wanted, you can publish the site to live.

First we need to update the project locally and then merge our development branch with the master branch.

  • Get all project updates
        git fetch
  • Merge your development with your master branch
        git checkout master
        git merge [name_of_your_development_branch]
        git push origin master
  • If auto deploy is enable, at this point Netlify will build your project and it will be live soon. Otherwise, you can access Netlify to verify and deploy manually.

douglas-fuelber-gatsby's People

Contributors

douglasfuelber avatar

Watchers

James Cloos 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.