Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

GervinFung/adonis-os-blog

Repository files navigation

My Blog - Adonis OS Blog

Note: check out Adonix-Blog as it is a remake of my blog, things just got out of hand for this repo

A blog post that simulate an OS and has 3 apps

App Why
Terminal Simulator Every Unix-based OS should have it, plus viewsers can take a glimpse of what a basic terminal (FISH Shell) looks like
Blog To display blogs
PoolOfDeath20 To direct viewers to my own web application

TLDR

Of course it doesn't simulate a real OS, just that I chose to develop my own blog in a different way.

Since I believe that a blog can be used to share personal view or information on various topics in an informal way, it should be designed and tailored as such, instead of making it similar to other blog posts. In other words, every blogger should have their own unique design of their blog

Hence by doing so I allowed readers to take a glimpse of my software world (Linux and Terminal) and read blog at the same time.

Click to preview!

Home Page

Home One Home Two Home Three

Terminal

Default Terminal Maximized Terminal Draggable Terminal

Posts

Default Posts Maximized Posts Draggable Posts

Post

Default Post Maximized Post Draggable Post

Tech Used

Aspect Name
Development Language TypeScipt
Scripting Language JavaScript
Bundling Esbuild
Authentication Firebase
Testing Jest
Styling Emotion-css
Framework NextJS
Build Automation Tool Make
Text Editor NeoVim
Dependency Management Yarn
Continuous Integration, Continuous Delivery, and Continuous Deployment GitHub Actions

How to build this app?

Make sure you have yarn and make available in your system

Environment Variables

Development and Testing

  1. Refer to .env.example which is an example file for you to know what key-value pairs are needed to develop this project
  2. Then, create .env.development and .env.test file that will be used for development and testing respectively. After that, copy the key-value pairs to it and then add the values

Staging and Production

  1. Similarly, refer to .env.deployment.example to know what key-value pairs are needed to deploy this project
  2. Then, create .env.staging and .env.production file and copy the key-value pairs to it and then add the values

Make Commands

Below are the listed commands that you can use to build/develop/test this app

Command Usage
make dev Start development
make start Run the built and bundled production code
make install Install all dependencies
make test Run all test code
make build Bundle and build the app
make typecheck Run type-checking for source code
make lint Run linter for source and test code
make format-check Run prettier to check source and test code format
make format Run prettier to format source and test code