Coder Social home page Coder Social logo

minikube-deploy's Introduction

Bucket List Minikube app

This is a simple python web application created with FLASK and MYSQL.

Features available

  • User can signup for an account
  • User can signin with his credentials
  • User can log out

Features to be implemented

  • User can add a bucket list of items
  • User can rate the list and sort with priority
  • Users can add text and images

Deployment

This Web Application is deployed as 2 components available as docker images:

  • Database - MYSQL database
  • Application - Python Flask Web app

Known Issues and Bugs

  • On signup page after pressing the signup button, the page does not redirect to home page. But the user is created. You can press Signin button and sign in using the created user.
  • All the scripts should run from minikube-deploy folder to avoid permission issues.
  • Use .sh files instead of bash for Windows powershell
  • The application is tested on a Windows 10 machine with virtual box, but it should run without any issues on Linux or MacOS.

Installation

The best way to run this application locally is via Minikube.

Before you begin

  • Install a Git client to obtain the sample code.
  • Install Python (Only required for testing).
  • Install a Docker engine.
  • Install Minikube.

Deployment steps

  1. Install docker and minikube.
  2. Install VirtualBox (Or enable Hyper-V for windows 10).
  3. git clone the following project: Bucket List WebApp
  4. Run the following commands to initialize and start the minikube cluster on a single node with virtualbox
cd minikube-deploy
.\scripts\init.bash
  1. Run the following command to build docker images and publish to minikube repo
.\scripts\build.bash
  1. Finally Run the publish command to create service and deployment for application and database on kubernetes
.\scripts\deploy.bash
  1. To run the application execute the following commands
.\scripts\run.bash

minikube-deploy's People

minikube-deploy's Issues

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.