Giter Club home page Giter Club logo

dcos-website's Introduction

Marketing site for DCOS

Environment URL Build Status
Production https://dcos.io Prod Build Status
Development https://dev.dcos.io Dev Build Status

Contribution Workflow

  1. Create a repo fork in GitHub

  2. Clone the dcos/dcos-website repo

  3. Add repo fork as remote repo:

    git remote add fork https://github.com/<github-user>/dcos-website
    git fetch fork
    
  4. Checkout the develop branch:

    git checkout develop
    
  5. Update the dcos-docs submodule:

    git submodule update --init --recursive
    
  6. Install Node

  7. Install dependencies:

    npm install
    
  8. Launch local dev server:

    npm start
    

    (opens dev server in browser)

  9. Create a new feature branch:

    git checkout -b feature/<feature-name>
    
  10. Make local changes

  11. Verify changes in dev server (updates automatically when files are changed)

  12. Add and Commit changes

    git add -p .
    git commit
    
  13. Rebase repo fork to include recent dcos/dcos-website:develop changes

    Rebasing a repo (instead of merging) will keep your fork commit history clean and move all your changes to the top of the commit log.

    git pull --rebase origin develop
    

    (may require resolving conflicts)

  14. Push changes to repo fork feature branch

    git push -u fork feature/<feature-name>
    
  15. Create a pull request from the repo fork feature branch to dcos/dcos-website:develop

Once changes are accepted and merged to the develop branch, CI will push the updates to https://dev.dcos.io/.

Update the Docs

Docs should be updated on develop by maintainers to avoid git sha merge conflicts:

git checkout origin develop
scripts/bump_docs.sh
git push

Promote to Production

Once changes have been previewed and accepted on https://dev.dcos.io/, the maintainers will rebase develop to master:

git fetch origin
git checkout master
git pull --rebase origin develop
git push

Setting dcos.io Redirects

  • aws configure --profile dcos
  • scripts/setup-redirects.sh

Adding New dcos.io Redirects

Add to redirects with the following format:

/from/ /to/

Technology

Built using Metalsmith.

License and Authors

Copyright 2016 Mesosphere, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this repository except in compliance with the License.

The contents of this repository are solely licensed under the terms described in the LICENSE file included in this repository.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Authors are listed in AUTHORS.md file.

dcos-website's People

Contributors

alberts avatar amrabdelrazik avatar artemharutyunyan avatar ashenden avatar davidvanleeuwen avatar grampelberg avatar jchn avatar jmanalus avatar joel-hamill avatar matapple avatar mhausenblas avatar timonvs avatar tmw avatar

Watchers

 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.