GithubHelp home page GithubHelp logo

sunnybora5 / website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhat-openstack/website

0.0 0.0 0.0 47.43 MB

RDO Project Website

Home Page: http://www.rdoproject.org

License: Other

Ruby 13.53% Shell 0.42% HTML 4.90% JavaScript 5.07% CSS 2.79% CoffeeScript 0.77% Python 2.15% Perl 0.48% Dockerfile 0.15% Haml 38.32% Sass 31.43%

website's Introduction

RDO website

To get started, just fork a copy of this repository, make your changes and create a pull request.

  1. Forking a github repository
  2. Making changes
  3. Pull Requests

Run your own copy

PLEASE NOTE: There is no requirement to run your own copy, the following is just a reference for those who may wish to do so.

To get started, you need to have Ruby and Ruby Gems installed, as well as "bundler".

Initial setup

Clone this repository and run the setup.sh script located in the checked out repository directory.

The script will initialize and update the git submodules, install system dependencies, and run a bundle install.

It is expected that you are on a YUM based system with sudo access.

cd website
./setup.sh

Running a local server

  1. Start a local Middleman server:

    ./run-server.sh

    This will update your locally installed gems and start a Middleman development server.

  2. Next, browse to http://0.0.0.0:4567

  3. Edit!

    When you edit files (pages, layouts, CSS, etc.), the site will dynamically update in development mode. (There's no need to refresh the page, unless you get a Ruby error.)

Customizing your site

The site can be easily customized by editing data/site.yml.

Adding a Post

To add a post to the community blog use:

./create-post.rb "TITLE"

Build your static site

After getting it how you want, you can build the static site by running:

bundle exec middleman build

Deploying

Setting up deployment

FIXME: Right now, please reference <data/site.yml>

Actual deployment

After copying your public key to the remote server and configuring your site in <data/site.yml>, deployment is one simple command:

bundle exec middleman deploy

Add new features (parsers, etc.)

Simply add a new gem 'some-gem-here' line in the Gemfile and run bundle install

More info

For more information, please check the excellent Middleman documentation.

website's People

Contributors

rbowen avatar garrett avatar dneary avatar rlandy avatar pmkovar avatar radez avatar slagle avatar rainleander avatar fiveohmike avatar apevec avatar javierpena avatar jcoufal avatar gfidente avatar amoralej avatar kashyapc avatar pmyers avatar weshayutin avatar yorabl avatar mary-grace avatar rcritten avatar larsks avatar itzikb avatar duck-rh avatar msolberg avatar cbrown2 avatar hguemar avatar cybertron avatar tshefi avatar tzumainn avatar bcrochet avatar

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.