FabAcademy

W:01 content

Gitlab

Setting up Webpage-Gitlab.
W were fortunately walked through setting up gitlab on our first term. - MY REPO
Also set with a template to make it easier to make our pages. But because I'm a stupid designer and the template looked very mych like my old portfolio. I decided to make it from scratch.
Bad choice- do not recomend, ( I have never ever seen html and css before in my life) so things went downhill...

But I can recomend freecodecamp - because its free and you have to start somewhere.

settign up git is not very easy, we had instructors walking us thorugh it. Creted account- but don't setup your account with a dot (.) in your username as it is a known bug!!!
from mac users perspective- open terminal, (already bash shell installed-lucky)

  1. Configure git following these instructions from official git documentation on how to start using git- set up account, - check version, git --version,
  2. In your shell, type the following command to add your username:
  3. config --global user.name "YOUR_USERNAME"
  4. Then verify that you have the correct username: git config --global user.name
  5. To set your email address, type the following command: git config --global user.email "your_email_address@example.com"
  6. To verify that you entered your email correctly, type: git config --global user.email

checking and generating SSH key follow these instructions in gitlab documentation

  1. create and configure an RSA key with the following command, ssh-keygen -t rsa -b 2048 -C "email@example.com"
    The -C flag, with a quoted comment such as an email address, is an optional way to label your SSH keys.
    You’ll see a response similar to:
    Generating public/private rsa key pair. Enter file in which to save the key (/home/user/.ssh/id_rsa):
  2. Copy your public SSH key to a location that saves information in text format. The following options saves information for ED25519 keys to the clipboard for the noted operating system-macOS:
    pbcopy < ~/.ssh/id_ed25519.pub
  3. go to gitlab and add key to your account. Settings>SSH Keys

CInitialize a local directory for Git version control, clone and start working with git

  1. If you have an existing local directory that you want to initialize for version control, use the init command to instruct Git to begin tracking the directory:
    git init
  2. to start working locally on an existing remote repository, clone it with the command git clone .
  3. o work on an up-to-date copy of the project (it is important to do this every time you start working on a project), you pull to get all the changes made by users since the last time you cloned or pulled the project.
    git pull < REMOTE > < name-of-branch > < /name-of-branch >
  4. To add and commit (save) all local changes quickly:
    git add .
    git commit -m "COMMENT TO DESCRIBE THE INTENTION OF THE COMMIT"
  5. To push all local commits (saved changes) to the remote repository: git push

Atom

For some it is preferred tool, yet somehow we were not meant to be. I had a lot of errors with pushing and pulling and iterface was not intuitive to me. On the user experience side of things - I could not understant error messages, so it was hard to understand what exactly went wrong. As well preview plugins I tried were not very responsive and were not rendering some of the elements. Working with git was quite frustraiting.

Visual Studio Code

After long time my saviour showed up - Visual Studio Code. It somehow makes git accesable to me as well. It always pulls and pushes, makes changes and commits easy to manage, with some additional extentions it makes my life way easier. And with an extention "Atom One Dark" it looks like Atom, which is handy as I was already a bit used to that theme. Recommend as well "Preview on Web Browser"- html preview, really great rendering. There is even Grammarly - yet for now not for html (as you can see)

So how does it work? You can easily just stage all changes- it has a simple + sign so you don't even need to remember it'c called "staging", and then commit. And it always pulles before pushing to make everyone's life easier

So what will I do?

As a FabAcademy project, I would like to make bioreactor and dehydrator, home- fab kit! I'm fascinated with synthetic biology and discovery that yest fermenting casein- milk protein- blew my mind. As the yeast are open and avaialbe in biohackers community, I wanted to make apparatus of cultivating and processing. From yeast to cheese and plastic!. The kit would consist of temerture controlled bioreactor, with dehydration chamber. From casein you coould produce then both cheese (yeast vegan cheese) and as well galalith- one of the first plastics. So both molds and mixing equipement could alsobe part of such an equipement. I would need to use electronics and sensors to control the eviroment preferably remotely as well as build hardware to set it up and make a correct workflow of harvesting casein.