Giter Site home page Giter Site logo

website's Introduction

Ember Website

Build Status

This repository contains the source code and content for some of the Ember.js public website: the home, blog, community, and about pages.

Other parts of the public website are separate apps:

Contributing

New contributors are welcome! The website is maintained by an all-volunteer team, and we are thankful for your help.

The best way to get started is to find issue labeled "good first issue" or "help wanted." If you have questions or want a buddy to pair with, drop by the #-team-learning channel on the Ember Community Slack. Like most open source projects, contributors are encouraged to open an issue to propose changes and iterate on ideas before investing time in coding. Some tips for working with git/GitHub can be found in Making your first pull request in the Guides respository.

Running locally with Docker (recommended)

This is the recommended method to run the website app locally. Although the website is built with Ruby, most work is done in Markdown files. You don't need to know Ruby or install its dependencies to help out. Follow the Docker container instructions below to install and run locally.

First, install Docker and Compose and leave it running.

Next, the commands below will install all necessary dependencies for the website app and start a server. This will take a little while to run, possibly a few minutes. The dependencies will be installed inside a Docker container, and do not affect your normal developer environment.

git clone git://github.com/emberjs/website.git
cd website
docker-compose build
docker-compose up

Subsequent runs will be much faster once all the dependencies are installed.

You can view the site locally at http://localhost:4567

Running locally with Ruby and Middleman

If you are unable to use Docker as described above, here's how to get started installing dependencies.

git clone https://github.com/emberjs/website.git
cd website
bundle
bundle exec middleman

Then visit http://localhost:4567/

Note: unless you're working with the API docs, don't use rake preview—use middleman (aka middleman server) instead.

To populate organizers data from meetup.com on http://localhost:4567/meetups

  • get a meetup API Key
  • set ENV["MEETUP_API_KEY"]
  • run the following rake command
rake findorganizers [force=true]

The force=true flag will overwrite all existing organizer data

Requirements

If the bundle command is not found, you can install it with gem install bundler.

If the bundle command fails to run, you may need to upgrade your Ruby version. Please check the current supported version that described at .ruby-version. You can use RVM to install it:

$ curl -L https://get.rvm.io | bash -s stable
$ rvm install $(cat .ruby-version)
$ rvm use $(cat .ruby-version)

Troubleshooting tips for Windows devs

For Windows developers using RubyInstaller, you'll need to download the DevKit and install it using instructions: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

After you have a proper install, you can then run:

gem install bundler wdm tzinfo-data
gem update listen middleman

Once Middleman comes up, you'll be prompted by Windows Firewall. Click "Allow access" and you'll be in business!

website's People

Contributors

acorncom avatar bmac avatar chancancode avatar dgeb avatar ebryn avatar fivetanley avatar igort avatar jayjayjpg avatar kingpin2k avatar locks avatar lzcabrera avatar machty avatar melsumner avatar mixonic avatar patr1ck avatar peritpatrio avatar perlun avatar rwjblue avatar sandraor avatar sivakumar-kailasam avatar sly7-7 avatar stefanpenner avatar toddjordan avatar tomdale avatar trek avatar tricknotes avatar twokul avatar wagenet avatar wifelette avatar wycats avatar

Watchers

 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.