Code Monkey home page Code Monkey logo

2016-stronghold's Introduction

2016-Stronghold

license tag

Development Setup

  1. Fork this repo
  2. Open Eclipse
  3. Install the FRC eclipse plugin if you haven't already
  4. File -> Import...
  5. If Git -> Projects from Git is an option...
    1. Choose Clone URI
    2. URI: https://github.com/USERNAME/2016-Stronghold.git
    3. Entering your username and password is optional
    4. master branch
    5. Import existing Eclipse projects
  6. If Git -> Projects from Git does not appear...
    1. Clone your fork
      1. Make a new folder in your home folder named "workspace"
        1. $ mkdir ~/workspace
      2. $ git clone https://github.com/USERNAME/2016-Stronghold.git ~/workspace/2016-Stronghold
      3. Choose General -> Existing Projects into Workspace
      4. Select root directory: Home/workspace/2016-Stronghold
  7. Window -> Preferences -> Java -> Code Style
    1. Clean Up
    2. Formatter
    3. Organize Imports
  8. For each, click Import and browse to the extra folder. Pick the appropriate file. Make sure Sponge is selected as the style for all three.

Development Flow Post-Setup

  1. Create a new branch for your feature: $ git checkout -b branch-owner-username/new-branch-name
  2. Make your changes
  3. Use $ git add -- file1 file2 file3... to "stage" your changes
  4. Begin to make a commit with $ git commit.
  5. Edit the commit message. The default editor, vi, is really intimidating, but simple to write a message with.
    1. Press i to enter "insert" mode. Any buttons you push outside of insert mode will usually be interpreted as commands, and do unexpected things.
    2. Write your message. Here's a really great guide: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
    3. The summary (first line) of your commit message should follow this format:
    4. section: short change description, like so: formatting: organize imports or drivetrain: trigger the motors.
    5. Press escape to exit "insert" mode, and go to "normal" mode.
    6. Type :wq to save and quit, or :q! if you want to cancel. If you use :q!, the commit won't be created.
  6. Rinse and repeat! When you're done making commits, move on.
  7. Push your changes to your fork with $ git push
  8. Create a pull request by visiting your fork's webpage on GitHub and clicking the green button.
  9. Add a description, and be sure to mention whether you've tested the code.
  10. Bug a leader to merge your request.
  11. It may be rejected, or be commented on with requests to change things.
  12. You can keep committing and pushing to a branch that has an active pull request -- your commits will be automatically added to the pull request.

2016-stronghold's People

Contributors

alexcook75921312312312 avatar binnur avatar dbadb avatar johanlia000 avatar michaelaleung avatar phroa 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.