GithubHelp home page GithubHelp logo

isabella232 / cloudfoundry.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudfoundry-attic/cloudfoundry.org

0.0 0.0 0.0 24.67 MB

Ruby 5.81% Shell 2.84% HTML 12.59% JavaScript 30.11% CSS 48.65%

cloudfoundry.org's Introduction

#cloudfoundry.org

cloudfoundry.org is the community site for Cloud Foundry.

Cloud Foundry is the industry's open Platform as a Service (PaaS), providing a choice of clouds, frameworks, and application services.

Technology

cloudfoundry.org is built using Middleman.

Contribute

cloudfoundry.org uses a Fork and Pull model of collaborative development. Follow this link to learn how to submit a pull request.

  1. Point your browser at https://github.com/cloudfoundry/cloudfoundry.org and click "Fork".
  2. From shell/prompt:
> git clone https://github.com/username/cloudfoundry.org.git
# Clones your fork of the repository into the current directory

> cd cloudfoundry.org
# Changes the active directory to the newly cloned "cloudfoundry.org" directory

> git remote add upstream https://github.com/cloudfoundry/cloudfoundry.org.git
# Assigns the original repository to a remote called "upstream"

> git fetch upstream
# Pulls in changes not present in your local repository, without modifying your files

Governance and Guidelines

###Issues

  • All issues (bugs, enhancements, questions, etc.) are tracked via the [cloudfoundry issues] page
  • Each issue should be contained inside its own branch
  • Each branch should be named after the issue number (iss1, iss2, etc)

#####To check if the issue already has a branch:

> git branch -r
  origin/HEAD -> origin/master
  origin/master
  upstream/iss4
  upstream/master

As you can see from the output above, Issue #4 is in progress (upstream/iss4).

####To contribute to issue that is IN PROGRESS: Let's say that you want to work on Issue #4:

From shell/prompt:

> git fetch upstream
> git checkout --track upstream/iss4
# makes iss4 the active branch in your workspace, and sets up the "upstream" configuration, and merges the remote branch with your local workspace

You may now start working on the issue.

####To INITIATE work on an issue:

Let's say the issues list contains the following issue:

Issue #9: add directory structure and files for bootstrap-based site

From shell/prompt:

> git checkout --track -b upstream/iss9
# creates a new remote branch called "iss9", makes it the active branch, and sets up the "upstream" configuration

> git fetch upstream iss9

You may now start working on the issue.

Testing

Run locally

bundle install
sh build.sh
sh run.sh

Now that you have it running locally you can start to develop and test new functionality and content.

Deploy to Cloud Foundry

See the CF Getting Started guide if this is your first CF app.

Then...

sh build.sh
cf push appname

Smoke test new app (eg. http://appname.cfapps.io).

When you have tested your changes, and it is time to merge the changes in to the branch created earlier...

Commit and push your changes

> git commit -a -m "added directory structure for bootstrap-based site [issue 9]"
> git push upstream iss9

Create a Pull Request

For admins

If you have publishing rights for the www.cloudfoundry.org website, please use the publish.sh script.

cloudfoundry.org's People

Contributors

brunssen avatar chipchilders avatar christo4ferris avatar cwest avatar hochm avatar jacksoncvm avatar jacquesperrault avatar krook avatar lcrowther-pivotal 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.