chchspace / site

The website for Christchurch Creative Space.

This URL has Read+Write access

Aupajo (author)
Tue Oct 13 02:46:50 -0700 2009
commit  9ab23f492bdfae0a2382f78b0f526fc416da4cd2
tree    c147af2b509872755eedb4d424881c4c8a003009
parent  60c78e40ae4d9e2306e389c3e1a6e1cab2e6788d
site /
README.markdown

Christchurch Creative Space Site

This is the official repository for the Christchurch Creative Space site.

You can submit ideas or report bugs under issues on GitHub.

Contributing

If you'd like to contribute to the site:

  • Fork this repository
  • Make your changes
  • Make a pull request

How to run the site locally

System setup

  1. Install and set up git (test with git --version)
  2. Install Ruby (test with ruby --version)
  3. Install RubyGems (test with gem --version)
    • Linux/OS X

       wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
       tar xzf rubygems-1.3.5.tgz
       cd rubygems-1.3.5/
       sudo ruby setup.rb
      
    • Windows
      1. Download and unzip
      2. Open a command prompt and cd into the unzipped directory
      3. Run ruby setup.rb
  4. Install Sinatra with gem install sinatra (sudo if needed)

Getting the code

If you just want to play with the site first, you can use the download button at the top, or use git clone git://github.com/chchspace/site.git.

If you'd like to contribute, you're welcome to submit email patches or, preferably, fork the repository:

  1. Sign up for a GitHub account
  2. Hit the fork button at the top
  3. Clone the forked repository with git clone your-shiny-new-clone-url
  4. Use git add pathname and git commit to make your changes (man git)
  5. Push back to GitHub when you're ready with git push origin master
  6. Make a pull request (button at top) when you'd like to submit changes

Running locally

  1. cd into the chchspace-directory
  2. shotgun site.rb
  3. http://localhost:9393