项目作者: anouarbensaad

项目描述 :
Management Of Breakdowns : a intranet project management of computer breakdowns in university with Ruby & Rails
高级语言: Ruby
项目地址: git://github.com/anouarbensaad/MOB.git
创建时间: 2018-08-01T11:35:26Z
项目社区:https://github.com/anouarbensaad/MOB

开源协议:MIT License

下载


Management Of Computer Breakdowns

A project management of computer breakdowns in university with Ruby&Rails (FrenchVersion)

Requirements

  • Ruby 2.5.1
  • Rails 5.2.0
  • Mysql-server

Installation

  • Clone the repository. git clone https://github.com/anouarbensaad/management-of-computer-breakdowns.git and switch into the directory cd Hmanagement-of-computer-breakdowns

Configuration DATABASES

  • Create user pannes with privileges :

mysql -u root -p ,
GRANT ALL PRIVILEGES ON *.* TO 'pannes'@'localhost' IDENTIFIED BY 'bensaad';

  • Create 3 DATABASES

  • pannes

CREATE DATABASE pannes; ,
GRANT ALL PRIVILEGES ON pannes.* TO 'pannes'@'localhost' IDENTIFIED BY 'bensaad';

  • pannes_development

CREATE DATABASE pannes_development; ,
GRANT ALL PRIVILEGES ON pannes_development.* TO 'pannes'@'localhost' IDENTIFIED BY 'bensaad';

  • pannes_test

CREATE DATABASE pannes_test; ,
GRANT ALL PRIVILEGES ON pannes_test.* TO 'pannes'@'localhost' IDENTIFIED BY 'bensaad'; ,
FLUSH PRIVILEGES;

upgraded & Running

ou’ll need to type this following command to resolve this:

  • rake db:setup
  • rake db:migrate
  • rake db:seed

Install all Package GemFile

  • bundle install

Running Server

  • rails s

License

MIT