GithubHelp home page GithubHelp logo

odin-frontend's Introduction

#ODIN Frontend

Requirements

  • Npm 3.10.x
  • Bower
  • Nodejs

How to install

  • Install all dependencies: npm install and bower install
  • Install gulp globaly: npm install -g gulp
  • Edit the configuration file config.json

Build and Serve for Development

The default gulp task will generate the config module for Angular according to the environment, it will serve and watch the files.

  • Local: gulp
  • Staging: NODE_ENV=staging gulp

Build for Deploy

To build the app for the different environments:

  • Local: gulp build
  • Staging: NODE_ENV=staging gulp build

This task will generate and copy all necessary files to run the application under the /dist directory. This directory is ignored by git on purpose, since all it's files are regenerated on each build.

Deploy

After build, serving the /dist directory is enough for deployment.

If you want to try on your local environment, execute a Python SimpleHTTPServer on \dist.

Have in mind that a new generated index.html is placed under /dist with the paths to the concatenated and minified files.

odin-frontend's People

Contributors

aaccurso avatar elstr avatar max-ang avatar mtebele avatar widcket avatar maxiejbe avatar emilianooferreyra avatar lordmacu avatar p-levin avatar sbaudino avatar ignaciosiri avatar labgcba avatar

Watchers

James Cloos avatar  avatar Gestión Digital avatar  avatar

Forkers

usuariobkp

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.