sort Dir['routes/*.rb']

Signed-off-by: Harsh Gupta <gupta.harsh96@gmail.com>
Improve build system.

- Exclude rake from Gemfile. Just like other software don't declare a
  dependency on make. rake comes with Ruby 2.x by default, which is
  all we need.
- Renamed 'install' task to 'deps'. 'deps' task itself is composed of
  sub-tasks which can be invoked individually. Rake tries to remember
  which sub-tasks of 'deps' has been executed. So if fetching deps
  fails at any point, it can be resumed from the failed step.
- It was often needed to run rake twice after cloning the repository.
  Fixed that.
- Make configure task friendly to docker.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Fix typo in /curate's sidebar!

Thanks to Emeline for pointing out the embarrassing typo.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
First section should be unfolded by default in sidebar of curate page.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Make rake:configure docker friendly.

Commit "Improve build system" tried to make `rake:configure` docker friendly by
attempting to read configuration values from `ENV` first. Turned out that the
only way to set environment variable during build is to use the `ENV` directive
in Dockerfile.

`rake:configure` now looks for an `env.yml` file in the current directory and
exports tuples from it to ENV first.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Bind to 0.0.0.0 instead of localhost.

Binding to 0.0.0.0 is docker friendly.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
gitignore .rake/

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Update docker setup.

To build and run:
    $ cp example.env.yml env.yml
    # add fb app id and secret to eny.yml
    $ docker build -t afra .
    $ docker run -itp 9292:9292 afra

Signed-off-by: Saurabh Kumar <saurabhgeek92@gmail.com>