Skip to content

Latest commit

 

History

History
executable file
·
66 lines (43 loc) · 2.05 KB

README.md

File metadata and controls

executable file
·
66 lines (43 loc) · 2.05 KB

Software Engineering Student Association (SESA) | L'Association des Étudiants en Génie Logiciel (AÉGL)

Welcome

This is the repo for SESA website. You want to know more about SESA ? Go check our home page:

Install guide

This project work perfectly with ruby 2.3.3 and rails 5.0.1 that's why you will need to get these specifics versions.

First step : install rbenv (ruby version manager)

If you are on window 10 you can use Cygwin or Bash on Ubuntu on Windows to install rbenv.

Then you just have to do the following commands (from this tutorial )

sudo apt-get update

sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs

cd
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL

git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL

rbenv install 2.3.3

rbenv global 2.3.3

ruby -v

gem install bundler

gem install rails -v 5.0.1

cd [path to this project]

bundler install

Second step : install postgresql

You will need to install postgresql and update the /config/database.yml to connect properly to the database.

Final step : Launch the server

Just start the server with rails from the root of the project. rails server

Original by

Maintained by

See an error? Feel free to submit a pull request, open up an issue, or post on our facebook page.

Live, Laugh, Learn.