Giter VIP home page Giter VIP logo

you-manage's Introduction

YOU MANAGE JAVASCRIPT

Projeto criado com

HTML Badge CSS Badge JavaScript Badge ReactJS Badge NodeJS Badge Docker GraphQl PostgreSQL

 

Primeira instalação

Dependências: É preciso ter algumas dependências instaladas antes de continuar

  • Docker e docker-compose;
  • Node.js e NPM;
  • Yarn.

 

Etapas

0. Instale as dependências do projeto

yarn install

 

1. Copie o arquivo .env.example para um novo arquivo .env

(não renomeie, crie uma cópia)

 

2. Coloque estas URLs no arquivo /etc/hosts para reverter o proxy

# GQL
127.0.0.1   proxy.local.you.manage
127.0.0.1   pg.local.you.manage
127.0.0.1   spa.local.you.manage
127.0.0.1   api.local.you.manage

 

3. Suba o docker com o comando

docker-compose up

 

4. Acesse seu navegador:

  • spa: http://spa.you.manage.com/
  • api: http://api.you.manage.com/

Possíveis erros

Error: error:0308010C:digital envelope routines::unsupported

1. Tente desinstalar o Node.js versão 17+ e reinstale o Node.js versão 16+

 

2. Abra o terminal e cole-os conforme descrito:

2.1. Linux e Mac:

export NODE_OPTIONS=--openssl-legacy-provider

 

2.2. Windows:

set NODE_OPTIONS=--openssl-legacy-provider

3. No seu package.json: altere esta linha

"dev": "react-scripts start"

para

"dev": "react-scripts --openssl-legacy-provider start"

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.