GithubHelp home page GithubHelp logo

sdkvictor / casasti Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saitcmty/casasti

0.0 1.0 0.0 1.19 MB

Aplicación para el manejo de las CasasTI dentro del Tecnológico de Monterrey, Campus Monterrey

Ruby 54.09% JavaScript 0.77% CSS 15.87% HTML 27.88% CoffeeScript 1.38%

casasti's Introduction

Applicacion para las Casas de ITC

All Changes must be made through a pull request.

Installing SATIC on MAC OS X

First, go to the folder you would like to have the application in.

After that, clone the files with: $ git clone https://github.com/saitcmty/CasasTI.git

Mac OS X already ships with ruby 2.0.0, therefore we need to install a newer version.

We will first get Homebrew to perform all of our installs. We run: $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" When asked for a password, it will be the one of your computer. You are downloading a program and are asked for your permission.

Then, we'll install gnupg in order to install the rest necessary. $ brew install gnupg gnupg2

Then we'll get RVM in order to easily change between ruby versions. $ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB $ curl -sSL https://get.rvm.io | bash -s stable --ruby

Now we'll install the correct version of ruby.

Sometimes we need to modify our ~/.bash_profile file, we'll open it with Visual Studio Code typing: $ code ~/.bash_profile We'll add the following line at the bottom of the file: source ~/.rvm/scripts/rvm

Close and open again the terminal in order for rvm to be recognized as a command. Don't forget to return to the folder of the repository!! Now we'll install the proper ruby version. (Our current version is ruby-2.6.0) $ rvm install "ruby-2.6.0" $ rvm use ruby-2.6.0

Now we are running the correct ruby version!!

Installing PostgreSQL $ brew install postgresql

Now we'll start postgresql: $ brew services start postgresql

Now we are ready to setup the app!! Run: $ bin/setup

You'll probably see some red lines, don't worry, leave the program running until it installs everything necessary.

When done, you can start the application server with $ rails server

Useful commands

  • Check if Ruby is installed
foo@bar:~$ ruby -v
  • Install all dependencies
foo@bar:~$ gem install
  • Launch Server
foo@bar:~$ rails server

casasti's People

Contributors

alegayndra avatar christ0089 avatar estdiego99 avatar jcarlos0828 avatar

Watchers

 avatar

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.