Giter Site home page Giter Site logo

rubyclass_blog's Introduction

Getting Started

  1. Create your own Github account if you have not already. Once you have an account, fork the repository into your own account by clicking on the Fork button at the top left corner of the screen.

  2. In your very own forked version of the repository, copy the git URL. It’s the one that looks like [email protected]:[your_username_here]/rubyclass_blog.git

  3. On your development machine, open terminal and cd into your project directory. Once there, clone your repository:

    git clone [email protected]:[your_username_here]/rubyclass_blog.git
  4. Install the required gems locally:

    bundle install
    
  5. Run the database migrations:

    rake db:migrate
    
  6. Start your local Rails server:

    rails server
    
  7. Fire up your browser and go to http://localhost:3000/

Practice Workflow

The goal is to get used to the daily GIT workflow. To do this, you will want to make changes to your application and then commit and push them to your Github repository.

Make changes that are of interest to you. If you have strong design aesthetic, work with the stylesheets to make it pretty. If you are interested in adding more fields to your application you can do that too.

The basic idea is to make changes, add, commit and repeat. When you are done with your changes, you will want to push them up to your Github repository.

Command Line Workflow Example

  1. Make a change to a file somewhere.

  2. Check the status of your local repository

    git status
    
  3. Inspect the differences in your local repository

    git diff
    
  4. Add the file that you made changes to

    git add [your_filename.rb]
    
  5. Commit the changes and be sure to include a commit message

    git commit -m "I made it better!"
  6. Push your changes to your github repository

    git push origin master
    
  7. Pull changes from your github repository (just for practice)

    git pull origin master
    

rubyclass_blog's People

Contributors

mindtonic avatar

Watchers

 avatar  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.