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 with following packages installed

  1. Install Ubuntu 22.04 LTS from here
  2. Install Git from your terminal by running following commands
    • sudo apt-get update
      
    • sudo apt-get install git
      
  3. Verify the installation was successful by typing
    • git --version
      

GitHub account

  1. If you don't have the account on github then create an account on GitHub
  2. Configure SSH key by following the below steps
  3. Create a new work directory named WORKSHOP inside the /home directory, by running following command in the terminal.
    • mkdir WORKSHOP
      
  4. Fork the current repository.
  5. Clone your forked repository inside the WORKSHOP directory.

Info: You can refer this guide to understand how to fork and clone

Docker instalation

  1. To install docker follow the below mentioned steps.
    1. Set up the repository
    2. Install Docker Engine
  2. Configure docker to run without sudo.
    1. Manage Docker as a non-root user
  3. Install Docker-compose by running the follwing command:
    • The following command will download the 2.16.0 release and save the executable file at /usr/local/bin/docker-compose, which will make this software globally accessible as docker-compose:
      sudo curl -SL https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
      
    • Set the correct permissions so that the docker-compose command is executable:
      sudo chmod +x /usr/local/bin/docker-compose
      
    • To verify that the installation was successful, you can run:
      docker-compose --version
      
      You’ll see output similar to this:
      Output
      docker-compose version 2.16.0, build 5becea4c
      
      Docker Compose is now successfully installed on your system.
  4. Download the follwing docker images to your local machine
    • docker pull oven/bun:1.0.35-alpine
      
      • Verify the image is pulled into your local machine
         docker run --rm -ti oven/bun:1.0.35-alpine bun -v
        
        Output: 1.0.35
    • docker pull postgres:14-alpine
      
      • Verify the image
        docker run --rm -ti postgres:14-alpine  psql -V
        
        Output: psql (PostgreSQL) 14.5
    • docker pull nginx:1.23.0-alpine
      

VS Code setup

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.
  • You will know the concepts of javascript & typescript.
  • Build basic application on nodejs using javascript/typescript.

Schedule

Time Topics
09:00 - 10:15 Git
10:15 - 10:30 [ Tea Break ]
10:30 - 01:00 Docker
1:00 - 2:00 [ Break ]
2:00 - 3:00 Javascript & Typescript
3:00 - 5:00 Node Js

webapp-workshop1's People

Contributors

anstond-uc avatar arunk-uc avatar noelneethanr-uc avatar pshenoy-uc avatar saketg-uc avatar santhosh-uc avatar shreyass-uc avatar snehals-uc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  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.