A Web Application designed to manage clients, tickets and bills, with interaction between provider and clients.
Go to file
2015-06-18 03:46:51 +02:00
app fix client tickets 2015-06-18 03:13:02 +02:00
bin Initial commit 2015-06-04 02:42:24 +02:00
config add client_bills 2015-06-18 01:56:36 +02:00
db Ticket is ready 2015-06-18 00:56:01 +02:00
lib Initial commit 2015-06-04 02:42:24 +02:00
log Initial commit 2015-06-04 02:42:24 +02:00
public Initial commit 2015-06-04 02:42:24 +02:00
test add client_bills 2015-06-18 01:56:36 +02:00
vendor/assets Initial commit 2015-06-04 02:42:24 +02:00
.gitignore prepare the Appli to deployment 2015-06-18 01:35:08 +02:00
config.ru Initial commit 2015-06-04 02:42:24 +02:00
doc.sh prepare the Appli to deployment 2015-06-18 01:35:08 +02:00
Gemfile Update Gemfile, gitignore, model ticket relation with bill 2015-06-18 01:26:46 +02:00
Gemfile.lock Update Gemfile, gitignore, model ticket relation with bill 2015-06-18 01:26:46 +02:00
Rakefile Initial commit 2015-06-04 02:42:24 +02:00
README.md Update README.md 2015-06-18 03:38:09 +02:00
README.rdoc Initial commit 2015-06-04 02:42:24 +02:00

Installation

Requirements

  • First install ruby 2 or greater. It is not advised to do the following commands as root.
  • Then, be sure you have postgresql installed, and started.

Initialization

cd Appli/
gem install bundler
bundle install
cp config/database.yml.example config/database.yml
edit config/database.yml # Configure your database connection first
rake db:create # create the db
rake db:migrate # migrate the db

you can try with an first example of dataset :

rake db:seed

Running

You can run the server by :

rails s

The server will be accessible via localhost

Organisation MVC

Guide documentation : visit

The RoR Project works with some main parts :

  • /config/routes.rb : the routing. The url accessible from http://... will call a Controller.method
  • /app/controllers/* : the controllers. they act from the parameters from the calling url
  • /app/models/* : the modelisation of the database
  • /app/views// : the views rendered after the controller
  • /db/migrate/* : the migrations. They represents the state of the databases
  • /app/assets/ : all stylesheets css, javascript, images

Contributors

  • poulet_a (as lead)