Coder Social home page Coder Social logo

ggintermediate's Introduction

๐Ÿ’ช GGIntermediate

Homework for the Generasi GIGIH Intermediate level.

Status

LEARNING

Requirement(s)

  1. Ruby
  2. MySQL/MariaDB
  3. Ansible
  4. Vagrant
  5. VirtualBox

Gem(s)

  1. mysql2
  2. rspec
  3. simplecov
  4. sinatra
  5. sinatra-contrib
  6. thin
  7. travis

Vagrant Box(es)

  1. ubuntu/focal64

How to Use

  1. Clone this repository to your desired location.
    $ git clone https://github.com/rgxcp/GGIntermediate.git
  2. Change your directory into project.
    $ cd GGIntermediate
  3. Run the script.
    $ ruby /path/to/file.rb
  4. Do-what-you-want-with-it!

Guides

$ ruby module1/session1/app.rb
$ ruby module1/session2/app.rb
$ ruby module3/session1/router.rb
$ cd module3/session3
$ rackup -p 4567
$ cd module4/session3
$ rspec -fd spec/controllers/categories_controller_spec.rb
$ rspec -fd spec/controllers/category_items_controller_spec.rb
$ rspec -fd spec/controllers/items_controller_spec.rb
$ rspec -fd spec/models/category_spec.rb
$ rspec -fd spec/models/item_spec.rb
$ cd module5/session2
$ vagrant init ubuntu/focal64
# Vagrantfile
Vagrant.configure("2") do |config|
   config.vm.network "private_network", ip: "192.168.20.21"
end
$ vagrant up
$ vagrant ssh
$ scp -i .vagrant/machines/default/virtualbox/private_key bundle.tar.gz [email protected]:/home/vagrant/app
$ ansible-playbook --inventory inventory.yml --user vagrant --private-key .vagrant/machines/default/virtualbox/private_key playbook.yml

What an amazing experience. Thanks everyone!

#NeverForget #NeverRegret

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.