Coder Social home page Coder Social logo

webapp-workshop1's Introduction

Docker Workshop

One Day workshop on understanding Docker to package applications into containers—standardized executable components combining application source code with the operating system.

Prerequisite

Linux machine/VM with following packages installed

  1. Install Ubuntu 20.04.4 LTS from here
  2. Install Git from your terminal by running following commands
    1. $ sudo apt-get update
    2. $ sudo apt-get install git
    3. Verify the installation was successful by typing
    4. $ git --version
  3. Install curl and jq by running commands
    1. $ sudo apt install curl
    2. $ sudo apt install jq

GitHub account

  1. If you don't have the account on github then create an account on GitHub
  2. Create a directory named WORKSHOP, run the command in the terminal (ctrl+shift+t)
    1. $ mkdir WORKSHOP
  3. Fork this repository and then clone it inside the WORKSHOP directory
  4. You can refer this guide to understand how to fork and clone

Docker instalation

  1. To install docker go to your cloned repository and run the following command from the terminal
    1. $ cd WORKSHOP/WebApp-Workshop1/
    2. $ sudo chmod +x prerequisites/install_docker.sh
    3. $ sudo apt-get update
    4. $ sudo prerequisites/install_docker.sh
  2. Verify Docker is installed
    1. $ sudo docker -v
    2. Output : Docker version 20.10.12, build e91ed57`
  3. Install Docker-compose by running the follwing command
    1. $ sudo apt-get update
    2. $ sudo apt-get install docker-compose
    3. Verify the installed version with the following command
    4. $ sudo docker-compose --version
    5. Output: docker-compose version 1.25.0
  4. Verify docker is installed
    1. $ sudo docker run hello-world
    2. Go through the output
  5. Download the follwing docker images to your local machine
    1. $ sudo docker pull node:16.16.0-alpine3.15
      1. Verify the image is pulled into your local machine
      2. sudo docker run --rm -ti node:16.16.0-alpine3.15 node -v
      3. Output: v16.16.0
    2. $ sudo docker pull postgres:14-alpine
      1. Verify the image
      2. sudo docker run --rm -ti postgres:14-alpine psql -V
      3. Output: psql (PostgreSQL) 14.5

What will you learn by the end of this workshop?

  • By the end of this workshop you will understand what Docker and how it is containerized for the applications
  • How Javascript works in the browser
  • Async / await in Javascript
  • API based node js application with express framework

To Do

Follow this tutorial and try it on your local machine
Node application setup

Schedule

Time Topics
09:00 - 11.00 Docker
11.15 - 01.00 Git
1.00 - 2.00 [ Break ]
2.00 - 3.00 Javascript & Typescript
3.00 - 5.00 Node js

webapp-workshop1's People

Contributors

noelneethanr-uc avatar pshenoy-uc avatar santhosh-uc 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.