Skip to content

MatheusRich/SIGS-GCES

 
 

Repository files navigation

SIGS - Sistema Inteligente de Gestão de Salas

BuildStatus Test Coverage Ruby Rails MIT License

SIGS is a Ruby on Rails website project design for UnB (University of Brasília). The project aims to facilitate and automate the process of allocation of university rooms by city officials, coordinators and other stakeholders. For more informations see the The Wiki Project.

Features

To see the features of the project Click Here.

Heroku Deploy

To View Application Deploy Click Here

License

To see the license of the project Click Here

Getting Started

There are 2 ways to set up your environment. You can use Docker to simulate isolate containers that has only the software dependencies, or you can run a virtual machine and simulate a whole system using Vagrant. To each case, you can follow the instructions below.

Set up using Docker

  • Install Docker

  • Install Docker Compose

  • Build the container image

    $ docker-compose build
    
  • Run the container

    $ docker-compose up -d
    
  • Set up the Database

    To create the database, run the migration and populate it with fictional data

    $ docker-compose run web rails db:create db:migrate db:seed
    
  • Open the internet browser in http://localhost:3000/.

Set up using Vagrant

  • Install the virtual machine software VirtualBox.

    $ sudo apt-get install virtualbox
    
  • Install the virtual environment Vagrant.

    $ sudo apt-get install vagrant
    
  • Clone the project Repository.

    $ git clone https://github.com/fga-gpp-mds/2017.1-SIGS.git
    
  • In the folder of project, rise the virtual environment.

    $ vagrant up --provision
    
  • Run the virtual environment.

    $ vagrant ssh
    
  • Get in the folder of project on Vagrant.

    $ cd vagrant/SIGS
    
  • Install all the gems used in the project.

    $ bundle install
    
  • Create and populate all the tables of the MySql Database.

    $ rails db:create db:migrate db:seed
    
  • Run the Rails server project on Vagrant.

    $ rails s -b 192.168.2.15
    
  • Open the internet browser in http://192.168.2.15:3000.

Using the application

  • Login with the desired user.

    DEG User
    e-mail: "deg@unb.br"
    password: "123456"
    
    Coordinator User
    e-mail: "coordenador@unb.br"
    password: "123456"
    
    Administrative Assistant
    e-mail: "adm@unb.br"
    password: "123456"
    

For more install and configurate informations, access the Tutorial.

About

Fork do SIGS utilizado na disciplina de GCES

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 78.3%
  • Ruby 16.9%
  • CSS 1.7%
  • Gherkin 1.4%
  • CoffeeScript 0.7%
  • JavaScript 0.4%
  • Other 0.6%