]> git.r.bdr.sh - rbdr/grita/blob - README.markdown
Adds variable domain name.
[rbdr/grita] / README.markdown
1 #Grita
2
3 Grita es un app sencillo hecho con Sinatra que almacena texto en formato markdown y genera urls y códigos QR-Code para poder compartirlo. Está diseñado para ejecutarse en heroku.
4
5 Para generar las tablas necesarias con DataMappeer, se debe correr irb desde el directorio raiz de la aplicación y correr los siguientes comandos:
6
7 >> require 'grita.rb'
8 >> DataMapper.auto_migrate!
9
10 (NOTA: Con Heroku no es necesario importar el archivo grita.rb y solo se corre el último comando)
11
12 Para instalar las dependencias se debe correr el siguiente comando:
13
14 $ bundle install
15
16 Para correr la aplicación simplemente se debe de correr el siguiente comando:
17
18 $ ruby -rubygems grita.rb
19
20 #Licencia
21
22 Este trabajo está distribuído bajo la nueva licencia BSD que se muestra a continuación:
23
24 Copyright (c) 2010, Rubén Beltrán del Río
25 All rights reserved.
26
27 Redistribution and use in source and binary forms, with or without
28 modification, are permitted provided that the following conditions are met:
29 * Redistributions of source code must retain the above copyright
30 notice, this list of conditions and the following disclaimer.
31 * Redistributions in binary form must reproduce the above copyright
32 notice, this list of conditions and the following disclaimer in the
33 documentation and/or other materials provided with the distribution.
34 * Neither the name of the organization nor the
35 names of its contributors may be used to endorse or promote products
36 derived from this software without specific prior written permission.
37
38 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
39 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
40 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
41 DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
42 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
43 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
44 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
45 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
46 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
47 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.