Giter VIP home page Giter VIP logo

linuxfr.org's Introduction

LinuxFr.org

LinuxFr.org is a french web site speaking of Linux and Free Software.

This git repository is the rails application that run on LinuxFr.org.

Install

The following instructions will help you to install the Rails part of LinuxFr.org on a debian box.

Note: I use Ruby 1.9.2 with RVM, even if it's not packaged for debian, but these explanations are for Ruby 1.8. The two versions work, so you are free to choose your camp.

  1. First install the debian packages:

    aptitude install ruby1.8 ruby1.8-dev irb1.8 libopenssl-ruby1.8

    aptitude install mysql-server mysql-client libmysql++-dev

    aptitude install build-essential libxslt1-dev libxml2-dev

    aptitude install aspell libaspell-dev aspell-fr

  2. Install rubygems

The rubygems package for debian lenny is too old. You can install it from sources, by following the instructions of http://railstips.org/blog/archives/2008/11/24/rubygems-yours-mine-and-ours/

On later debians, just do:

# aptitude install rubygems
  1. Configure the database:

    mysql -p -u root

    > CREATE DATABASE linuxfr_rails; > GRANT ALL PRIVILEGES ON linuxfr_rails.* TO "linuxfr_rails"@"localhost";
  2. Install and start redis:

    $ wget "http://redis.googlecode.com/files/redis-2.0.4.tar.gz" $ tar xvzf redis-2.0.4.tar.gz $ cd redis-2.0.4 $ make $ ./redis-server redis.conf

  3. Clone the repository, configure and install gems:

    $ git clone git://github.com/nono/linuxfr.org.git $ cd linuxfr.org $ cp config/database.yml{.sample,} $ cp config/secret.yml{.sample,} $ gem install bundler rake $ bundle install $ rake db:setup

  4. Let's run it:

    $ bundle exec rails server thin $ firefox http://127.0.0.1:3000/

See also

If you want the full stack for running LinuxFr.org, you should also look at:

Copyright

The code is licensed as GNU AGPLv3. See the LICENSE file for the full license.

Copyright (c) 2010 Bruno Michel [email protected]

linuxfr.org's People

Contributors

danielchesters avatar nono avatar oumph avatar

Stargazers

 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.