https://github.com/sesa-uottawa/uottawasesa
University of Ottawa - Software Engineering Student Association
https://github.com/sesa-uottawa/uottawasesa
engineering ottawa react ror ruby-on-rails student-club student-project uottawa
Last synced: 6 months ago
JSON representation
University of Ottawa - Software Engineering Student Association
- Host: GitHub
- URL: https://github.com/sesa-uottawa/uottawasesa
- Owner: sesa-uottawa
- Created: 2014-03-06T00:31:21.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-10-20T21:11:46.000Z (over 7 years ago)
- Last Synced: 2024-04-17T00:30:06.979Z (about 2 years ago)
- Topics: engineering, ottawa, react, ror, ruby-on-rails, student-club, student-project, uottawa
- Language: JavaScript
- Homepage:
- Size: 89.2 MB
- Stars: 11
- Watchers: 8
- Forks: 21
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Software Engineering Student Association (SESA) | L'Association des Étudiants en Génie Logiciel (AÉGL)
===
# Welcome
This is the repo for the SESA website.
Want to know more about SESA? Go check our [*home page*](http://sesa-uottawa.ca/)
# Install guide
This project works perfectly with ruby 2.3.3 and rails 5.0.1, you will need to use these specific versions.
## First step : install rbenv (ruby version manager)
### For Windows
Windows 10, you can use [*Cygwin*](https://cygwin.com/) or [*Bash on Ubuntu on Windows*](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide) to install rbenv.
Then you just have to run the following commands (from the Linux [*tutorial*](https://gorails.com/setup/ubuntu/17.04) )
### For linux
```
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl1.0-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common 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
```
### For mac
First install Homebrew if it's not already installed
```
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
```
Install rbenv
```
$ brew install rbenv ruby-build
```
Once done, add to your bash profile
```
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
```
Apply to your terminal session.
```
$ source ~/.bash_profile
```
Install ruby
```
rbenv install 2.3.3
rbenv global 2.3.3
ruby -v
gem install bundler
gem install rails -v 5.0.1
```
Install Gems
```
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
* [Menelik Tucker](http://meneliktucker.me/)
* [Katarina Drobnjakovic](http://katarina.rocks/)
# Maintained by
* [Everyone](https://github.com/sesa-uottawa/uottawasesa/graphs/contributors)
See an error? Feel free to submit a pull request, open up an issue, or post on our [facebook page](https://www.facebook.com/groups/uOttawaSESA/).
Live,
Laugh,
Learn.