From cc78809911cf14fb006691e596d354e08981be4a Mon Sep 17 00:00:00 2001 From: KZacharski Date: Sat, 26 Aug 2023 23:07:37 +0200 Subject: [PATCH] just saving it in case the storm kills my computer --- docs/docs/installation.html | 9 +++++---- docs/docs/style.css | 7 +++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/docs/installation.html b/docs/docs/installation.html index 1fb3df1..4465114 100644 --- a/docs/docs/installation.html +++ b/docs/docs/installation.html @@ -18,10 +18,11 @@

Installation

Last edited: 26 August 2023
Open on GitHub

-

地基 (Dìjī) means foundation in Chinese. That's what diji is, just the foundation. It's not a framework, it's not even a static website generator. It's just a simple program that makes it quicker and easier to start a vanilla project. diji is an open source project written in go. Currently it can create a customized html boilerplate, CSS and JS files, insert sample content on the website, initialize a git repo and set up a gitignore file as well as add a favicon to the website (the user can change the default favicon in diji's config folder).

-

diji currently works on Linux, macOS and Windows, supporting both amd64/i386 and arm64/arm architectures (except for macOS because it doesn't currently support any 32-bit architectures). It's also possible to run it on other operating systems/architectures by building it from source which thanks to it being written in golang is very easy.

-

Downloading diji

-

Download the file corresponding with your OS and architecture from GitHub releases then proceed to Installation.

+

After downloading diji you have 2 choices. You can either put it in a folder where you're gonna create all of your projects (for example Documents) or add it to $PATH and use it anywhere.

+

Way 1 (Storing in the projects folder)

+

Extract the zip you downloaded earlier and open the folder that was extracted from it. Now select both the diji binary and the diji-config folder and copy them to a folder you want to use for creating your projects. Now you can run diji by opening the terminal (or PowerShell on windows if you don't have Windows Terminal installed) in that folder and running it with a command ./diji

+

Way 2 (Adding to $PATH)

+

Linux:

diff --git a/docs/docs/style.css b/docs/docs/style.css index 5abed34..80259bf 100644 --- a/docs/docs/style.css +++ b/docs/docs/style.css @@ -372,4 +372,11 @@ flex-direction: column; }*/ .iafc { padding-bottom: 30px; +} .sbt { + font-size: medium; + margin-top: 0; + padding-top: 0; +} .sbtt { + margin-bottom: 5px; + padding-bottom: 0; } \ No newline at end of file