Giter Club home page Giter Club logo

como_vamos's Introduction

¿Cómo vamos?

¿Cómo vamos? is an application to keep track of solved problems by different users on online programming judges.

Brief installation

  • git clone the project.
  • Edit the config/database.yml as appropiated.
  • Edit the SMTP server configuration in config/environment.rb
  • rake db:migrate the database.
  • Start the server. That’s it!

Deployment to an online server using Apache

  • Access the server using ssh
  • git clone the project into a non-public folder
  • Make sure the shebangs of files public/dispatch.cgi, public/dispatch.fcgi and public/dispatch.rb are correct.
  • Edit the SMTP configuration in config/environment.rb
  • Change the environment into production:
    • Run rake environment RAILS_ENV=production
    • Uncomment the line ENV[‘RAILS_ENV’] ||= ‘production’ in config/environment.rb
  • Create the production database using phpMyAdmin or whatever.
  • Edit the production section in config/database.yml as appropiated.
  • Migrate the database by running rake db:migrate RAILS_ENV=production
  • Make sure there is a .htaccess inside public/ This file should redirect petitions into the cgi dispatcher (A default .htaccess is included).
  • Make a symbolic link into public/ that is accessible from the net, for example, ln -sf ~/como_vamos/public ~/www/como_vamos
  • That’s it! Point your browswer to to the symbolic link created on the previous step.

Live demo

This application is runing on http://comovamos.factorcomun.org

como_vamos's People

Contributors

febuiles avatar jpemberthy avatar nhocki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

como_vamos's Issues

Good to param methods

The to_param methods need to be changed. If the name of the problem has a dot, the server will try to render another view (it will take the '.' as the extension).

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.