Giter VIP home page Giter VIP logo

jena-doc's Introduction

Scripts for experiments on Jena documentation and website

Checking out the current branch from source

# Goes in root directory for the project
cd jena-doc/

# Clean the place
sudo rm -R svn/

# Check out from SVN source
svn co http://svn.apache.org/repos/asf/jena/site/ svn

Installing the Apache CMS

From instructions there: http://www.apache.org/dev/cmsref.html#local-build

# Clean the place
sudo rm -R asf-cms/

# Check out from SVN source
svn co https://svn.apache.org/repos/infra/websites/cms/build/ asf-cms

# And make sure the perl packages, etc... are installed as described on the website

Export of the static site

Modifications are done on under svn/trunk/. Should be good to be merged with the current code. Then it's possible to export the site to see how it looks (easier to debug). For that the conent can be exported on a local server (LAMP or ngnix for instance) or put on the GitHub pages to show live results.

Exporting to local server the static dump

sudo ./scripts/to-local-server.sh

Publishing on GitHub pages

# Export the static site ready for the github pages in a folder
mkdir /home/samuel/Desktop/site
sudo ./scripts/generate-github-site.sh /home/samuel/Desktop/site

# Then push to pages after commiting
git add -u .
git commit -m 'commit the master'
git push origin master
git checkout gh-pages
# Then copy the saved folder into the pages by hand
git add -u .
git commit -m 'new version of the site'
git push origin gh-pages

Creating a patch

# From http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/
cd svn/
svn diff > ~/fix_ugly_bug.diff

Can look at http://stackoverflow.com/questions/159853/subversion-diff-including-new-files and http://stackoverflow.com/questions/4248768/including-new-files-in-svn-diff in case of problems.

jena-doc's People

Contributors

loopasam avatar

Stargazers

 avatar Rob Vesse avatar

Watchers

James Cloos avatar  avatar Rob Vesse avatar

Forkers

1tylermitchell

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.