Giter VIP home page Giter VIP logo

proyecto-estudiantes-web's Introduction

Proyecto de grado - App estudiantes 馃摀 馃嚞馃嚙 馃帓

Comandos

  1. Correr la app. yarn start
  2. Ejecutar la app. yarn build
  3. Correr linter. yarn lint
  4. Correr electron. yarn dev
  5. Release electron. yarn release
  6. Release electron linux. yarn release:linux

Instalaci贸n

  1. Clonar repositorio: git clone https://github.com/bernabe9/proyecto-estudiantes-web.git
  2. Instalar dependencias: yarn
  3. Agregar variables de entorno

Crear los file de variables de entorno y ubicarlos en la carpeta raiz.(.env.dev, .env.staging and .env.prod):

.env.dev ejemplo:

  API_URL=http://your-api-url.com
  ENABLE_PWA=true
  1. Correr la app: yarn start

Correr scripts con diferentes environments

Para cambiar el conjunto de variables de entorno par aun escript es necesario correr ENV=my_environment antes del script.

Por ejemplo: ENV=staging yarn build

Configuraci贸n

Instalar Node version 9.8

Instalar Yarn

Progressive web app

Para activar PWA, cambie a true la variable de entorno ENABLE_PWA en su dot file.

Hacer deploy a AWS S3

  1. Agregue las siguientes variables de entorno para cada .env AWS_BUCKET, AWS_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
  2. Corra el comando para hacer un deploy con un environment especifico ENV=your_environment yarn deploy

Deploying to Heroku

  1. Add all the environment variables in .env to Heroku
  2. Add the env variable NPM_CONFIG_PRODUCTION=false to Heroku
  3. Deploy your branch to Heroku

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.