Coder Social home page Coder Social logo

challenge-olivas-digital's Introduction

Instalação

Você precisará ter o GIT instalado na sua máquina, e, após isso, clonar este repositório:

   git clone https://github.com/Danielrl98/Challenge-Olivas-Digital.git
   cd Challenge-Olivas-Digital

Você precisará ter o Docker e Docker compose na sua máquina, após isso, executar o comando na pasta raiz do projeto

   sudo docker-compose -f "docker-compose.yml" up -d --build

Arquivo de banco de dados está configurado para importar automáticamente, por isso será necessário a mudança dos links permanentes

   sudo docker exec -it challenge-olivas-digital-db-1 mysql -h localhost -u root -pexample_password

Após acessar o banco de dados, executar as seguintes instruções:

   use wordpress;

adicione o IP público da sua instância na variável <SUBSTITUIR_POR_IP>

   UPDATE wp_posts
    SET guid = REPLACE(guid, 'http://localhost/olivas-digital', '<SUBSTITUIR_POR_IP>:8000/')
    WHERE guid LIKE '%http://localhost/olivas-digital%';

adicione o IP público da sua instância na variável <SUBSTITUIR_POR_IP>

   UPDATE wp_options
    SET option_value = REPLACE(option_value, 'http://localhost/olivas-digital', '<SUBSTITUIR_POR_IP>:8000/')
    WHERE option_value LIKE '%http://localhost/olivas-digital%';

challenge-olivas-digital's People

Contributors

danielrl98 avatar

Watchers

 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.