GeoNode's Website
HTML CSS Other
Latest commit d6c5a0c Jan 13, 2017 @jj0hns0n jj0hns0n committed on GitHub Merge pull request #54 from cgiovando/master
Disabling summit banner, adding Gitter info
Permalink
Failed to load latest commit information.
_drafts point home page button to the latest blog and minor fix Nov 20, 2015
_includes
_layouts
blog
communication
faqs
gallery
jobs
providers
static
.gitignore
.travis.yml
CNAME
README.md
_config.yml
admin_features.html
code_sprint_2015.html
contributors.html
dev_features.html
index.html
setenv-ruby-gem.sh
user_features.html

README.md

geonode.org

Build Status This is the setup for the GeoNode website.

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