WEEK 2 : Project Management

<<<<<<<=Go Back To Home <<<<<=Previous Week || Next Week>>>>>

WEEK 2 : Project Management



ASSIGNMENT

  • Build a personal site describing you and your final project.
  • Work through a git tutorial.
  • UBUNTU , GIT and ATOM

    First day at the Fablab was on the Jan 17th of 2018, i was about 3 hours early to our FabLab Trivandrum before the Video conference was to begin. Our FabLab Manager Vinod gave us a basic tour of the Acdemy program and he familiarised us about all the machines at the Lab. After the first day, I installed Ubuntu 16.04 just beside my Windows, its my first time using an open source operating system but i have started liking it more now. The next thing i had to do was to install the GIT Installing and Configuring Git Git is a free and open source distributed version control system, it was almost easy to learn at first, except later on before my first publishing it was a hard path for me.

    • Create an account in Git lab.
      1. Go to http://git.fabacademy.org
      2. click sign in with fablabs and click signup.
      3. Enter your details for and create an account.
    • Install Git on your laptop
      1. Open the terminal (Ctrl+Alt+T) and type
      2. sudo apt-get install git
    • Generate SSH keys
      1. Open terminal (Ctrl+Alt+T) and type
      2. ssh-keygen -t rsa -b 4096 -C "your mail id"
      3. Enter a file in which to save the key (/Users/you /.ssh/id_rsa): [Press enter]
      4. Press enter to chose the default location.
      5. Set up a passphrase. This is similar to a password for your Git.
      6. A window will open showing you the SSH keys.
      7. Id_rsa is your private key and id_rsa is your public key.
    • The next step is to Add an SSH agent
      1. Open terminal (Ctrl+Alt+T) and type
      2. eval "$(ssh-agent you -s)"
      3. ssh-add ~/.ssh/id_rsa # Add key to the agent
    • Add a global username and global email id.
      1. Open terminal (Ctrl+Alt+T) and type
      2. git config --global user.name "your username"
      3. git config --global user.email your mail id
    • The next step is to Add your public key to gitlab account
      1. Open terminal (Ctrl+Alt+T) and type
      2. sudo gedit ~/.ssh/id_rsa.pub
      3. Copy the entire thing and close the gedit window.
    • Open the gitlab account (git.fabacademy.org)
      1. Click on Profile Settings - SSH Keys
      2. Paste the content under key option
      3. Give a title to identify which PC has the above Key
      4. Click on Add key and Done.
    • Clone the repository
      1. Open terminal and change the directory to a location of your preference
      2. Type git clone git@gitlab.fabcloud.org:academany/fabacademy/2018/labs/fablabtrivandrum/students/aby-michael.git
      3. Done.

    Git Install

    Git Lab

    Syncing files between your local repository and fabacademy server

    Git uses two commands to sync files between your local repo and the server these are the 'Pull' and ' push' commands.

    1. Open terminal by clicking (Ctrl+Alt+T)
    2. Go to your local directory in the terminal using the 'cd' command.
    3. Type git status #to see all the files that needed to be added to the server.
    4. Type git add --all #to add the files to the index.
    5. Type git commit -m "Initial comment" #commit these files to the next push.
    6. Type git pull #to get an updated copy of the repository.
    7. Type git push #push the indexed files into the server.

    Git clone

    Web Design

    I'm new to HTML design so I watched a few HTML tutorials online and the site w3schools.com really helped me to learn the fundamentals. I installed Atom as it have auto completion and the mark down preview(we could watch our progress parallelly) .I first made a sample Html file and tried to make my second commit(first one was an markdown file), it was succesfull and reflected in the Git Lab account but still not published in the page. My page was showing an error message I downloaded a basic HTML-CSS template and modified it for my profile page and it was a tedious task. At the End of the first two weeks now I almost prepared my webpage :D .

    Atom Progress



    Creative Commons License
    This work by Aby Michael is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.