GithubHelp home page GithubHelp logo

brainstorm-task's Introduction

Brainstorm Technical Assignment

Architecture Diagram

Website URL: https://brainstorm.ayodele.cloud

Table of Contents

Prerequisites

Before you begin, ensure you have met the following requirements:

Getting Started

To get the project up and running locally, follow these steps:

Terraform Setup

  1. Clone the repository:

    git clone https://github.com/ayodele-ademeso/brainstorm-task.git
    cd brainstorm-task
    cd terraform
  2. Create a terraform.tfvars file with the variables listed in variables.tf

  3. Initialize Terraform to download provider plugins from HashiCorp's official registry:

    terraform init
  4. Run

    terraform plan
  5. Then run

    terraform apply

    Enter yes when prompted.

Ansible Setup

  1. CD into the ansible folder. Ansible configures the server by installing NGINX, PHP, MySQL, and SSL.
  2. Modify the inventory.yaml and ansible.cfg files to update the hosts IP, and the ssh-key file.
  3. Run the ansible playbook command
    ansible-playbook -i inventory.yaml lemp-config.yaml

Wordpress Deployment

There is a Github action that copies your updated wordpress files in wordpress whenever a change is made.

Excluded files

Certain sensitive files have been excluded from this repository, including:

.pem files in the root folder and ansible folder. You should create your SSH key pairs and update the Terraform and Ansible configurations accordingly.

brainstorm-task's People

Contributors

ayodele-ademeso 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.