Giter VIP home page Giter VIP logo

bootcamp-devops-2's Introduction

Sistem Operasi Windows 10

  1. DevOps adalah istilah untuk sebuah kultur dimana tim Developer dan tim Operation bekerja sama dalam proses development sebuah aplikasi agar lebih cepat dan efisien. Penting untuk mempersingkat proses development agar tidak terjadi delay antara team developer dan operation, untuk memperpendek waktu server tidak bisa diakses karena kesulitan menangani bug atapun versioning. Alur kerja

    • Developer menulis kode secara lokal di laptop
    • Developer mengupload kode ke server Test
    • QA/Tester melakukan pengecekan. Gagal. Tester melapor ke Developer
    • Developer melakukan Rollback
    • Developer menulis kode secara lokal di laptop
    • Developer mengupload kode ke server Test
    • QA/Tester melakukan pengecekan. Berhasil
    • Developer mengupload kode ke Server Production (sumber https://blog.cilsy.id/2018/07/apa-itu-devops.html)
  2. Docker adalah sebuah aplikasi yang bersifat open source yang berfungsi sebagai wadah/container untuk mengepak/memasukkan sebuah software secara lengkap beserta semua hal lainnya yang dibutuhkan oleh software tersebut dapat berfungsi. Pengaturan software beserta file/hal pendukung lainnya akan menjadi sebuah Image (istilah yang diberikan oleh docker). Kemudian sebuah instan dari Image tersebut kemudian disebut Container. (sumber https://www.dewaweb.com/blog/tutorial-docker-dalam-bahasa-indonesia/) Kubernetes adalah platform open source yang digunakan untuk manajemen container (sumber https://medium.com/sannycloud/apa-itu-kubernetes-k8s-af4e68f7c358)

  • persamaan : opensource
  • perbedaan : docker untuk otomatisasi build dan deploy aplikasi (container), kubernetes otomatisasi management container (infrasruktur)
  1. jalankan perintah history di terminal linux

  2. karena apabila tidak ada ci/cd proses development aplikasi akan cenderung lebih lambat dan juga kurang praktis

  3. (mohon maaf tidak bisa embed video di readme.md)

  • ketik di terminal : nano shell.sh
  • ketik useradd username (enter) apt-get update (enter) apt-get upgrade
  • tekan ctrl+x dan tekan y dan enter
  1. (mohon maaf tidak bisa embed video di readme.md)
  • git init
  • git add .
  • git commit -m "frist commit"
  • git remote add origin [email protected]:/.git
  • git push origin
  1. (sumber https://medium.com/codelabs-unikom/microservices-apaan-tuh-b9f5d56e8848)

  2. Komputer yang sudah diinstal heroku cli, sudah login heroku dan sudah mempunyai project wordpress yang akan dideploy, kemudian ikuti langkah-langkah berikut ini :

    • buat file bernama procfile dan ketik web: vendor/bin/heroku-php-nginx
    • buka project wordpress menggunakan git bash dan masukan perintah git init
    • kemudian masukan perintah git add .
    • kemudian masukan perintah git commit -m "initial commit"
    • kemudian masukan perintah heroku create
    • kemudian masukan perintah git push heroku master
    • buka, signup, dan buat database baru di https://www.freesqldatabase.com/
    • buka url yang sudah dicreate oleh heroku tadi (http://murmuring-sierra-89897.herokuapp.com)
    • masukkan config database yang telah dibuat di situs https://www.freesqldatabase.com/

bootcamp-devops-2's People

Contributors

rizaladityoo avatar

Watchers

 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.