Giter Site home page Giter Site logo

lauracout / rocketchat.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrinaldhar/rocketchat.github.io-1

0.0 0.0 0.0 281.25 MB

The Rocket.Chat website.

Home Page: https://rocket.chat

License: MIT License

Ruby 1.57% HTML 59.76% CSS 30.54% JavaScript 7.92% Shell 0.21%

rocketchat.github.io's Introduction

rocket.chat

Source for the Rocket.Chat website.

Site structure

We chose Jekyll and GitHub pages because together they offer the most supported and user friendly way for others to fork, edit, preview and contribute documentation without having to setup a local development environment just to write copy, add images or manage files.

For developers, only use templates and includes when they are needed. Creating a template per page or splitting templates into many parts that are only included once makes it challenging to maintain and contribute to the project.

Templates

The default.html template is the base template used by pages or other templates (only post.html at the moment).

Only create a Template if it will be used by more than one page. Rather add the structure and content to the page e.g. see index.html.

Includes

Like Templates, only create an Include if it will be used in more than one Template.

Styles

When changing styles, bump the version number in config.yml to force browsers to load the new version.

Define Template or Page styles in their own file with the same name as the Template or Page (e.g _templates/default.html) and then include the style in styles.scss.

Only define variables for values that are used in multiple places and need to vary. Use contextually relevant names instead of calling it by the current value it holds e.g use $body-color instead of $color-light-blue. If you change the value of the variable in the second case, you have to update the name and everywhere it is referenced.

Running rocketchat.github.io locally

  • install ruby (version 2.5 or higher recommended, if using any version prior to 2.5 you will need to install bundler with gem install bundler).
  • This step is for only macOS users:
    • You will need to have either xcode or the xcode command line tools installed. To install the command tools use xcode-select --install. Don't forget to accept the sudo xcodebuild -license command.
    • Depending on your setup you might need to install nokogiri and its dependencies manually.
  • Fork the appropriate repository to your account.
  • Clone your fork.
  • cd into your project folder.
  • Run bundle install inside of the cloned folder.
  • Start the server with bundle exec "jekyll serve --incremental --safe"

rocketchat.github.io's People

Contributors

isabellarussell avatar seanpackham avatar martinschoeler avatar engelgabriel avatar danilowoz avatar louisemessage avatar sing-li avatar marceloschmidt avatar geekgonecrazy avatar rafaelks avatar rodrigok avatar ggazzo avatar bernardoetrevisan avatar tassoevan avatar juliagrala avatar diegodorgam avatar brunosquadros avatar d-gubert avatar rssilva avatar sampaiodiego avatar timkinnane avatar frdmn avatar renatobecker avatar mrinaldhar avatar shiqimei avatar rodriq avatar makibras avatar graywolf336 avatar thiagosanchz avatar ngulden 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.