GithubHelp home page GithubHelp logo

huxley-web-open-source's Introduction

huxley-web

Projeto web para o The Huxley com a nova interface.

Configurando o ambiente de desenvolvimento para trabalhar na interface gráfica com Angular.js

Instalando o Node.js utilizando o NVM (Node Version Manager)

Pré-requisitos:

  • Compilador c++. Para o OSX, o XCode vai servir, para o Ubuntu, os packages build-essential e libssl-dev vão servir.
  • Window não é um SO suportado pelo NVM, mas existem algumas soluções alternativas
# 0. Para instalar ou atualizar o NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
# 0. Ou via WGET
# wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash

# 1. Instala a última versão do node via nvm
nvm install node

# 2. Coloca a versão do node para ser utilizada como padrão no shell
nvm alias default node

Referências:

Instalando o Bower

    npm install -g bower

Instalando o Grunt

    npm install -g grunt-cli

Instalando o Protractor

    npm install -g protractor

Instalando as dependências para a interface gráfica

    cd huxley-app/
    bower install

Instalando o Chrome Web Driver

Depois de instalar o Protractor pelo NPM.

    cd huxley-app
    webdriver-manager --out_dir vendor/selenium update

Realizando a build do projeto com o Grunt

    cd huxley-app/
	npm install
    grunt

Grunt no modo watch, para desenvolvimento

Quando o grunt watch estiver rodando, ele irá monitorar os arquivos do projeto e realizar builds conforme o necessário.

    cd huxley-app/
    grunt watch

Grunt

Rodando os testes com o grunt

Testes e2e e unit:

    grunt test

Testes e2e com Protractor:

    grunt proractor

Testes de unidade com Karma:

    grunt karma

Intellij IDEA

Instalando o plugin do Node.JS

  1. Para instalar o plugin vá em File > Settings
  2. Digite "Plugins" na busca do lado esquerdo da janela de settings e escolha plugins
  3. Clique no botão Browse repositories... e digite "NodeJS".
  4. Escolha NodeJS e clique no botão verde "Install plugin"

Reinicie o idea e pronto

Rodando o Grunt do Intellij IDEA

  1. No diretório huxley-app/ clique com o botão direito no arquivo Gruntfile.js
  2. Escolha: Open Grunt Console
  3. Escolha a Task ou Alias para rodar.

huxley-web-open-source's People

Contributors

nelsongomesneto 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.