GeoNode/geonode.github.com

Name: geonode.github.com

Owner: GeoNode Development Team

Description: GeoNode's Website

Created: 2012-08-23 00:17:41.0

Updated: 2017-06-16 06:51:27.0

Pushed: 2017-11-28 13:33:31.0

Homepage: http://geonode.org

Size: 99346

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

geonode.org

Setting up website environment locally
# setup virtualenv
virtualenv geonode.org && cd $_
. bin/activate
# get the repo
git clone git@github.com:GeoNode/geonode.github.com && cd geonode.github.com
# set Ruby environment variables
. setenv-ruby-gem.sh
# install Jekyll
gem install jekyll link-checker jekyll-feed jekyll-mentions jekyll-sitemap github-pages
Workflow
# edit content
jekyll build
jekyll serve  # default port is 4000, set explicitly with -P 
# check links
check-links _site
# view at http://localhost:4000
# adding blogposts
cd _drafts
vi newpost.md
# make sure to set the following YAML front matter:
# layout: base
#
# preview with `jekyll build --drafts` or `jekyll serve --drafts` and draft will show up as latest post
# when you are ready to publish:
# - rename the file as per the current YYYY-MM-DD
git mv _drafts/newpost.md _posts/YYYY-MM-DD-newpost.md
vi _posts/YYYY-MM-DD-newpost.md
# commit and push
git commit -m 'publish article'
git push origin master

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.