Giter VIP home page Giter VIP logo

cdshort's Introduction

CDShort

Vercel

Table of Contents

  1. Overview
  2. Prerequisites
  3. Getting started with Git
  4. Starting this project
  5. Useful Commands
  6. Contributing
  7. Chain of Command
  8. Git WorkFlow
  9. Git Cheatsheet
  10. Other Resources

Overview

Our official CodeDevils URL shortener, LinkTree clone, and QR Code Generator! This will be a place to get quick information about The CodeDevils Organization. It will also allow CodeDevils members to create their own short links!

Prerequisites

  • Install NodeJS (latest LTS version): https://nodejs.org/en/download/
  • Install Angular npm i @angular/cli
  • Install Firebase npm i firebase
  • Install Ionic npm i @ionic/cli

Getting started with Git

  1. Run git clone https://github.com/reharri7/cdshort.git

Starting this project

  1. In your terminal, navigate to the directory of the project
  2. Run npm start
  3. Navigate in your browser to localhost:4200

Useful commands and their descriptions

TODO

Contributing

This document plans to outline the following for all contributors of the CDShort project. Please follow these guidelines to the best of your knowledge and understanding, and feel free to message @reharri7 in the CodeDevils Slack workspace if you have any questions or need help!

Chain of Command

The CDShort project manager is Rhett Harrison (@reharri7). They control the day-to-day operation of this project, with oversight and policy dictated by the CodeDevil Officers.

To see your CodeDevil officers, visit the #about channel of the CodeDevils Slack workspace.

Git Flow

Overall, the Git flow is mostly laidback. You, as a contributor, have lots of wiggle room to make your own inputs in your commits to this repo. Forking is not necessary - use the origin repo's branches for your own code bases. You have full control over your own development branches and Git flow. That said, there are some general guidelines you need to follow.

Personal Branch

This is your own branch. You can call it whatever you want locally and push it into the remote repository. Your working commits will be on this branch and when you are ready to create a pull request (PR) for a specific GitHub issue you will use your personal branch for that PR.

Main Branch

The main branch is the production code that CDShort is currently operating on. Whatever is in main is what will be on the internet. PRs from personal branches to main will require an approved code review from a project manager.

Contribution Requirements

Observe the following in your git flow:

  • Make an Issue prior to working on your code. We don't want you to work on something that is actually banned or already implemented!
  • Your personal development branches must start with your name and be consistent. E.g., bobby-dev, bobby-new-feature-here
  • Though there is no limit to the number of reviewers you request, your pull requests to main must at least include a project manager.
  • Comment in your code following the functionality and process within it.

Workflow examples

Marlee's Quick Patch (Simple)

My name is Marlee, and I noticed a mispelling in the README.

I would create a GitHub issue for this, then create a branch called marlee-hotfix, make the correction, then submit a pull request to main making sure to request review from @reharri7.

Good job Marlee!

Clyde & Darryl's Calendar (Collab)

My name is Clyde, and I'm working with Darryl on a sweet new command that allows something to do with calendars.

I would create a GitHub issue for the new feature, then checkout a new branch entitled calendar-dev, acting as the default branch for the calendar between Darryl and I, making sure to keep it updated with main. Darryl and I would then have our own branches whatever we want to call them following the guideline, say darryl-calendar and clyde-dev. We push and pull from calendar-dev for development.

When our cool new command is done, making sure to pull calendar-dev from main so that there are not merge conflicts, I would then make a pull request on main. Billy-Bob is good with calendars, so I would like his review too. I would request review from @BillyBobUSA along with a project manager such as @reharri7.

Nicely done!

Git Cheatsheet

Checkout Existing Branch

git checkout existing-branch

Checkout a New Branch

git checkout -B your-new-branch

Push to Repo

git push origin destination-branch

Pro tip: add -u to skip the naming of the branch in future pushes.

Update Current Branch from Repo

git fetch && git pull

Update Current Branch from Target Branch

git fetch ; git merge target-branch

Use Case: Your development branch (current branch) is behind dev and you want to update your branch with the code from dev (or some other target branch).

Other Resources

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.