GithubHelp home page GithubHelp logo

ye-man / lotso-bear Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mgranados/lotso-bear

0.0 1.0 1.0 16.86 MB

Proyecto de software de talleres. SYRAT

Ruby 10.99% CoffeeScript 0.26% JavaScript 83.77% CSS 0.41% HTML 3.44% Python 0.26% ActionScript 0.87% Shell 0.01%

lotso-bear's Introduction

#SYRAT#

specs for install:##

*Install Ruby version '2.0.0' and Rails '4.x.x'

*Railroady.

  • development default server

  • passenger on local server

  • heroku unicorn

  • PostgresSQL for DB (postgresapp better)

    • postgres gem

    Run:

    export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin

  • development BD: syrat_development

  • production BD: syrat_production_live

  • config it: * create on config/database.yml # development: adapter: postgresql database: syrat_development pool: 5 timeout: 5000 username: YOUR_POSTGRES_USERNAME password: YOUR_POSTGRES_PASSWORD

     	# Warning: The database defined as "test" will be erased and
     	# re-generated from your development database when you run "rake".
     	# Do not set this db to the same as development or production.
     	test:
     	 adapter: postgresql
     	 database: syrat_test
     	 pool: 5
     	 timeout: 5000
     	 username: YOUR_POSTGRES_USERNAME
     	 password: YOUR_POSTGRES_PASSWORD
    

##for installation:## ####run:#### rake db:migrate

###for creating and filling the database.### ###on the root of the repo to test it### ####run:#### rails s

###on navigator:### localhost:3000

MODEL:

####run:#### rake diagram:all

####diagrams are generated on doc/####

  • model is based on:
    • GenericFamily
    • StockFamily
    • GenericSpare
    • StockSpare
    • GenericCar
    • Warehouse

GenericFamily:

Generic car part that fits a Generic Car.

StockFamily

Generic Family part, once it arrives to warehouse or it is install in a car. (It's on stock)

GenericSpare

Small car parts, that belong to a GenericFamily

StockSpare

GenericSpare once it enters to a warehouse or it is install in a car. (It's on stock)

ROUTES:

routes: config/routes.rb
Root 
Controller session action new
GET / 

lotso-bear's People

Contributors

theabegonzalez avatar mgranados avatar marcorosas1991 avatar luigialver avatar

Watchers

 avatar

Forkers

dr-aryone

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.