Git Product home page Git Product logo

conf_files's Introduction

Comments

  • bash-solution

    run as sudo in ubuntu linux

    for accesability add [Your-IP] wordpress.local drupal.wordpress.local in your hosts file

    all recuired conf files script will download from git

    notification part is writen with curl is making post reqest to webhook webiste is possible to makee different ways , als using corl make authenticated requests depends from where need to be done request

    db configurations are manual , for that you need to write credentials for this sql fiel init.sql

    suggested improvements

    • shellcheck
    • makeing code more clean with variable and make it reusabele,
    • changing script for clean after complition
    • write script with coding best practices
    • use .env files and variables for secrets
  • container-solution

    used docker compose

    for accesability add [Your-IP] wordpress.local drupal.wordpress.local in your hosts file

    for run docker-compose up -d

    running can take little bit longer to initilize

    docker compose need to be run same directory with config folder nginx.conf inside

    wordpress db dont need ot be configured

    drupal db need to beconfigured , I havent deleted env vars from drupal block for configure after running

    same as podman just need to be run as root for be possible expose external port

    suggested improvements

    • depends from case task can be done in different ways
    • makeing code more clean with variable and make it reusabele, add coments dfor user
    • write script with coding best practices
    • use .env files and variables for secrets,
  • ansible-solution

    run as sudo in ubuntu linux

    for accesability add [Your-IP] wordpress.local drupal.wordpress.local in your hosts file

    all recuired conf files script will download from git

    db configurations are manual , for that you need to write credentials for this sql fiel init.sql

    suggested improvements

    • use variables
    • structurize code
    • improve code (remove unnecessary things)
    • write playbook with coding best practices
    • use .env files and variables for secrets
  • - Какой иной инструмент вы бы использовали для выполнения задачи и почему? - for similar task (there is not tough requirnomets) simple tools is better , but depends from task, what is required can be chnaged code be optimised, ex. can be creted Docker file for custum docker image

  • - Как можно упростить выполнение задач или оптимизировать их, используя другие инструменты? - is possible with using modules, CI/CD tools, version controling tools , and monitoring for find possible errors easly

all required files are in folders regarding by name

conf_files's People

Contributors

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