Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: required version of Ruby is now 2.2 for current jekyll, also removed mentions of "incubator"

...

Prerequisites:

  • Ruby version 2.02+
  • sudo gem install bundler
  • sudo gem install jekyll

...

  • Clone the repo associated with the PR
  • From incubator- metron/site execute
    • bundle install
    • bundle exec jekyll serve
  • Navigate to http://localhost:4000 to review the site

  • This will create the static site in the target directory.

...

  • From master, execute the following from incubator- metron/site
    • bundle install
    • bundle exec jekyll serve

...

  • Ensure that the website comes up on http://localhost:4000 and exit whenever that is done
  • Save off a zipped copy of incubator- metron/site/target
  • Checkout the asf-site branch
    • Ensure at git status says you have no untracked files.  Sometimes a checkout will bring along some rogue files that are untracked in master such as target directories.
  • Unzip the copy of the target into incubator- metron
  • Ensure that the change looks right by running python -m SimpleHTTPServer and navigating to http://localhost:8000
  • Commit locally with a commit message that references the JIRA. e.g. METRON-177: Sync'ing asf-site from the generated code on master.
  • Push to apache via git push apache asf-site (assuming you named the apache remote repo 'apache')

...