Day 3 at rtcamp

Today I spent most of the day setting up the development environment and troubleshooting.

Familiarizing with CLI

I did most of the work like installing libraries, required modules and stuff on CLI today. It took me a little bit of more time than expected to get handy with the terminal. I learned about how to create and delete directories from terminal itself.

Commands I learned

  1. ssh-keygen : I used this command to generate SSH keys for github authentication
  2. ssh-add : to add the created keys to the SSH agent of my local machine I used this command
  3. open -a textedit : I found this command so I can open the public key in text editor and copy it to github
  4. rm -rf : Used this command to delete the app directory
  5. git clone : used this to clone the repo for assignment
  6. mkdir : create public directory in app using this

Fixing site creation error in local WP on MacOs

Yesterday when I installed the local WP, i tried to create new site multiple times but it was giving error, I couldn’t solve it myself so I asked for help on the gh discussions and got the solution.

the local wp has some issues with compatibility with the mac silicon m2 chips so I had to install “Rosetta”

Rosetta is a dynamic binary translator developed by Apple Inc. for macOS, an application compatibility layer between different instruction set architectures. It enables a transition to newer hardware, by automatically translating software

wikipedia.org

Preparation for the quiz

I revised procedural php concepts and HTML, as I am not very good at CSS today I gave extra time to learn CSS from the scratch. I glanced thorugh my MySQL cheatsheet for quick overview.

Assignment inception

We are given an assignment as a part of our engineering basics course to create a plain php application that takes user email and sends them github timeline updates every 5 minutes.

I don’t have much experience with the php so today I will design the application, learn all the prerequisites to create such application and start working on the solution ASAP.


Today was nice, I am slowly getting how to use the mac and get comfortable with it.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *