Skip to content

rashidjosphat/ip3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yolo E-commerce Orchestration

Description

Yolo E-commerce Orchestration is an application designed to add products and display them, allowing users to place orders. My main role in this project was to orchestrate the deployment using Vagrant and Ansible.

Installation Instructions

Installing Prerequesite Application

Install Vagrant , VirtualBox ,ansible and terraform

Running The Application

there are two ways to run this application use terraform or without terraform

OPTION 1 - without terraform

  1. Clone the repository:
    git clone https://github.com/rashidjosphat/ip3/
    
    
  2. go to the cloned directory
    cd ip3
  3. first you need to run the virtual machine by
    vagrant up
  4. after that you can the application up by running
    ansible-playbook ./ansible/playbook.yml --ask-became-pass

if it promt you a password put pass

OPTION 2 - using terraform

to run this application with terraform you simply branch to the stage_two branch and cd into the stage_two directory. in the stage_two directory run

   terraform plan -out=tfplan && terraform apply -auto-approve tfplan

the command is supporsed to initiate by downloading the stated providers in the terraform main.tf file and run the application automatically.

The terraform file is coded in way that it provision the same os in option one and it and it also run the ansible file , so no need for any other command it come packed with all configuration.

Usage Instraction

go to you browser and run

http://localhost:3000

Contribution Guidelines

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

Contact

For questions or support, please reach out to [josphat.rashid@student.moringaschool.com].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors