Git Product home page Git Product logo

yolo's Introduction

Orchestration

This refers to the automated configuration, co-ordination and management of computer systems and services.

Deployed link

http://35.238.41.25:3000/

Steps

  1. We'll start deploying by first cloning our repo in the google cloud shell
git clone <repository url>
  1. Change directory to the cloned repo

  2. Create a new directory called "manifests"

mkdir manifests
  1. Change directory to the created folder 'manifests'
  2. Create the following files as follows
touch mongo-config.yml
touch mongo-secret.yml
touch mongo.yml
touch backend.yml
touch client.yml
  1. Populate the respective yaml files with the necessary info
  2. Log in to your google console and open your cloud shell
  3. Run the following command to enable creation of clusters
gcloud services enable container.googleapis.com
  1. Create a new cluster with the following command
gcloud container clusters create-auto yolowebapp-gke \
  --region us-central1

  1. Change directory to the manifest destination and run the following commands
kubectl apply -f mongo-config.yml
kubectl apply -f mongo-secret.yml
kubectl apply -f mongo.yml
kubectl apply -f backend.yml
kubectl apply -f client.yml
  1. Run the following command to check status of the deployments
kubectl get all

  1. Use the following link to access our deployed application
http://35.238.41.25:3000/

Requirements

Make sure that you have the following installed:

  • node
  • npm
  • MongoDB and start the mongodb service with sudo service mongod start

Navigate to the Client Folder

cd client

Run the folllowing command to install the dependencies

npm install

Run the folllowing to start the app

npm start

Open a new terminal and run the same commands in the backend folder

cd ../backend

npm install

npm start

Go ahead a nd add a product (note that the price field only takes a numeric input)

yolo's People

Contributors

paulchacha avatar jonnygovish avatar chachawambura avatar vinge1718 avatar

Watchers

James Cloos 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.