Git Product home page Git Product logo

carrito's Introduction

Carrito Nahual

Instalación resumida

sudo apt install postgresql                        # bajar PostgreSQL
git clone [email protected]:nahual/Carrito.git        # clonar el repo
cd Carrito                                         # cambiar a la nueva carpeta donde vive el repo local
npm install                                        # bajar las dependencias del back (express y sequelize)
( cd public ; ../node_modules/.bin/bower install ) # bajar las dependencias del front (angular)
sudo su postgres                                   # para usar el usuario de administracion de PostgreSQL
createuser pedro -P                                # para crear el usuario "pedro", llenar el pass con "secret"
createdb carrito                                   # para crear la db que usa carrito
node rebuild_tables.js                             # armar la estructura de la BBDD
node load_fixtures.js                              # cargarla con datos
node server.js                                     # arrancar la app

PD: las credenciales "pedro" y "secret" estan en el archivo config/config.json. (si te copa, cambialas)

Instalación

Dependencias Node (Server side)

npm install

Dependencias Bower (Client side)

cd public
bower install

Estructura de base de datos

node rebuild_tables.js

Datos de prueba

node load_fixtures.js

Iniciar servidor

node server.js

Fin

carrito's People

Contributors

iign avatar taioloco avatar sanadora avatar martinsalias avatar

Watchers

Mariano Stampella avatar James Cloos avatar Juan Lagostena avatar Ariel Lipschutz avatar Pablo D. Roca avatar Beto Ifran avatar Gabriel avatar  avatar  avatar  avatar  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.