Uploaded January 2025 | Updated November 2026, 2 hours ago
#MkDocs #Python #Windows
Full steps can be found at i12bretro.github.io/tutorials/0984.html
--------------------------------------------------------------------
What is MkDocs?
--------------------------------------------------------------------
MkDocs is a fast, simple and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file. It is designed to be easy to use and can be extended with third-party themes, plugins, and Markdown extensions. - github.com/mkdocs/mkdocs
--------------------------------------------------------------------
Installation
--------------------------------------------------------------------
01. Log into the Windows device
02. Download Python python.org/downloads
03. Run the downloaded Python installer, making sure to check the option to add Python to the path
04. Launch PowerShell as Administrator
05. Run the following commands in PowerShell
# upgrade pip
pip install --upgrade pip
# create a mkdocs directory in user directory
mkdir $ENV:UserProfile\mkdocs
# change directory to mkdocs
cd $ENV:UserProfile\mkdocs
# install mkdocs
pip install mkdocs
# create a mkdocs site
mkdocs new mkdocs-demo
# change directory to mkdocs-demo
cd mkdocs-demo
# start the demo site
mkdocs serve
06. Open a web browser and navigate to http://DNSorIP:8000
--------------------------------------------------------------------
Read the Docs Theme
--------------------------------------------------------------------
01. Back in PowerShell, press CTRL+C to kill the running process
02. Run the following command
# open the mkdocs config file in notepad
notepad "$ENV:UserProfile\mkdocs\mkdocs-demo\mkdocs.yml"
03. Add the following line to mkdocs.yml
theme: readthedocs
04. Save the change and close Notepad
05. Run the following command to see the change
# restart the demo site
mkdocs serve
Source: mkdocs.org/getting-started
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
#MkDocs #Python #Windows
Full steps can be found at i12bretro.github.io/tutorials/0984.html
--------------------------------------------------------------------
What is MkDocs?
--------------------------------------------------------------------
MkDocs is a fast, simple and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file. It is designed to be easy to use and can be extended with third-party themes, plugins, and Markdown extensions. - github.com/mkdocs/mkdocs
--------------------------------------------------------------------
Installation
--------------------------------------------------------------------
01. Log into the Windows device
02. Download Python python.org/downloads
03. Run the downloaded Python installer, making sure to check the option to add Python to the path
04. Launch PowerShell as Administrator
05. Run the following commands in PowerShell
# upgrade pip
pip install --upgrade pip
# create a mkdocs directory in user directory
mkdir $ENV:UserProfile\mkdocs
# change directory to mkdocs
cd $ENV:UserProfile\mkdocs
# install mkdocs
pip install mkdocs
# create a mkdocs site
mkdocs new mkdocs-demo
# change directory to mkdocs-demo
cd mkdocs-demo
# start the demo site
mkdocs serve
06. Open a web browser and navigate to http://DNSorIP:8000
--------------------------------------------------------------------
Read the Docs Theme
--------------------------------------------------------------------
01. Back in PowerShell, press CTRL+C to kill the running process
02. Run the following command
# open the mkdocs config file in notepad
notepad "$ENV:UserProfile\mkdocs\mkdocs-demo\mkdocs.yml"
03. Add the following line to mkdocs.yml
theme: readthedocs
04. Save the change and close Notepad
05. Run the following command to see the change
# restart the demo site
mkdocs serve
Source: mkdocs.org/getting-started
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro





![Run MyBB - Open Source Forum Software - in Docker
#MyBB #Forum #Docker
*** Updated 05/24/2024
Full steps can be found at https://i12bretro.github.io/tutorials/0932.html
What is MyBB?
MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet. - https://mybb.com/
Installing Docker
01. Log into the Linux host and run the following commands in a terminal window
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release)/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository deb [arch=$(dpkg print-architecture)] https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release) $(lsb_release -cs) stable
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
Running MyBB Container
01. Continue with the following commands in a terminal window
# create working directories
mkdir ~/docker/mybb -p && mkdir ~/docker/postgresql -p && mkdir ~/docker/nginx -p
# set owner of docker directory
sudo chown $USER:$USER ~/docker -R
# allow the container to write to working directories
sudo chmod a+rwx -R ~/docker/mybb
# download the nginx conf file
wget -O ~/docker/nginx/default.conf https://gist.githubusercontent.com/kawaii/ed2fbbf11309b8f635a623fa87abce8d/raw/3a5a6e36b238e55aaef519693ca16c82fbafd2fd/default.conf
# create containers network
docker network create containers
# run the postgesql container
docker run -d name postgres network containers -p 5432:5432 -e POSTGRES_USER=mybb_rw -e POSTGRES_PASSWORD=My44_rw$ -e POSTGRES_DB=mybb -v ~/docker/postgresql:/var/lib/postgresql/data restart=unless-stopped postgres:latest
# run the mybb container
docker run -d name mybb -v ~/docker/mybb:/var/www/html:rw network containers restart=unless-stopped mybb/mybb
# run nginx webserver container
docker run -d name nginx network containers -p 8081:80 -v ~/docker/mybb:/var/www/html:ro -v ~/docker/nginx:/etc/nginx/conf.d:ro restart=unless-stopped nginx
02. Open a web browser and navigate to http://DNSorIP:8081
03. Click Next at the Welcome screen
04. Click Next at the License Agreement
05. Click Next at the Requirements Check
06. Complete the Database Configuration as shown below
Database Engine: PostgreSQL
Database Server Hostname: postgres
Database Username: mybb_rw
Database Password: My44_rw$
Database Name: mybb
Table Prefix: mybb_
07. Click Next after the table creation completes
08. Click Next to complete the Table Population
09. Click Next at the Theme Insertion screen
10. Modify the Board Configuration form as needed ≫ Click Next
11. Create an administrator account by entering a Username, Password and Email Address ≫ Click Next
12. Click the Admin Control Panel link
13. Login with the administrator username and password created earlier
14. Welcome to MyBB
Documentation: https://github.com/mybb/docker
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run MyBB - Open Source Forum Software - in Docker](https://i.ytimg.com/vi/cBrApDiqw3o/mqdefault.jpg)


![Run VSCodium Containerized in Docker
#VSCodium #Linux #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0985.html
What is VSCodium?
VSCodium is a clone of Microsoft’s Visual Studio Code. The project’s sole aim is to provide you with ready to use binaries without Microsoft’s telemetry and tracking code. - https://vscodium.com/
Installing Docker
01. Log into the Linux Docker host and run the following commands in a terminal window
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release)/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository deb [arch=$(dpkg print-architecture)] https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release) $(lsb_release -cs) stable
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
Running VSCodium
01. Continue with the following commands in a terminal window
# list current uid and gid, note these for later
id $user
# create working directories
mkdir ~/docker/vscodium/{config,code} -p
# run the vscodium docker image
# replace PUID, GUID with the output of the id $user command above
docker run -d name=vscodium cap-add=IPC_LOCK -e PUID=1000 -e PGID=1000 -e TZ=America/New_York -p 8003:3000 -v ~/docker/vscodium/config:/config -v ~/docker/vscodium/code:/code shm-size=1gb restart unless-stopped lscr.io/linuxserver/vscodium:latest
02. Open a web browser and navigate to http://localhost:8003
03. Welcome to VSCodium
Source: https://hub.docker.com/r/linuxserver/vscodium
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run VSCodium Containerized in Docker](https://i.ytimg.com/vi/dJgh13kYmoI/mqdefault.jpg)

