Git Product home page Git Product logo

angular2sucre's Introduction

Primeros pasos en angular 2

Esto es el código que se trabajo en el workshop

Iniciando el proyecto

  1. Tener instalado NodeJS https://nodejs.org/es/

  2. Instalar el ( Client Line Interface ) angular-cli de forma global:

  npm install -g angular-cli
  1. Ir al directorio donde vas a trabajar
  cd misproyectos
  1. Clonar el proyecto o si quieres descargarlo aqui:
  git clone https://github.com/JoseChirinos/angular2sucre.git
  1. Para que funcione deberas entrar a la carpeta donde clonaste o descomprimiste y luego instalar todas las dependencias:
  cd my-app
  npm install
  1. Para conectarte a tu servicio firebase deberan copiar sus configuraciones en app.module.ts:
const firebaseConfig = {
        apiKey: "TU_API_KEY",
        authDomain: "TU_DOMINIO_FIREBASE.firebaseapp.com",
        databaseURL: "TU_DOMINIO_FIREBASE.firebaseio.com",
        storageBucket: "TU_DOMINIO_FIREBASE.appspot.com",
        messagingSenderId: "TU_NUMERO_LARGO"
      };
  1. Habilitar en firebase tu servicio de autenticación

  1. Para iniciar el proyecto ejecutar:
  ng serve
  1. Para generar el proyecto final y dejarlo listo para producción
   ng build --aot

angular2sucre's People

Contributors

josechirinos avatar angular-cli avatar

Watchers

James Cloos 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.