MichaIng / DietPi-Website

Repository for the DietPi OS website

Home Page:https://dietpi.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DietPi logo

Lightweight justice for your single-board computer!

optimised • simplified • for everyone

WebsiteDownloadsDocumentationForumBlog


Ready to run optimised software choices with dietpi-software
Feature-rich configuration tool for your device with dietpi-config.


Introduction

This is the official repository for hosting collaborative development of the official DietPi OS home page https://dietpi.com/, including DietPi-Software overview page https://dietpi.com/dietpi-software.html.

CodeFactor

Deploy instructions

Deploy to /tmp/DietPi-Website-master (no input argument):

bash -c "$(curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi-Website/master/deploy.bash')"

Deploy to /var/www (target path as input argument $1):

bash -c "$(curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi-Website/master/deploy.bash')" bash /var/www

Arguments $2 and $3 can be optionally used to define the GitHub branch and owner to pull the website from.

View local changes

There are two options to view your local changes:

  1. Using a webserver which serves the local website
  2. Using a GUI based system to view the HTML files in a browser

Using a webserver

As a prerequisite you need a running webserver on your system. Otherwise you can install one via dietpi-software, for example Apache:

sudo dietpi-software install 83

When you deployed the website to /var/www as explained above, you can view it from any browser in your LAN via:

http://<your.IP>/

Using a GUI based system

In case you have a GUI based system, you can view the HTML files directly in your browser:

  • Deploy the DietPi website to /tmp/DietPi-Website-master or any other local directory as explained above.
  • Display it in your browser by opening /tmp/DietPi-Website-master/index.html via drag & drop or -> File -> Open.
  • The address line in your browser then typically shows file:///tmp/DietPi-Website-master/index.html.

Contributing

There are many ways you could contribute to DietPi project. You could work on the DietPi project, website design, extend the documentation, or just run tests.

If you have experience with GitHub, you could either look for existent issue to start with or report a new one. Website code updates should be done directly on GitHub, using the development branch: dev, creating a pull request (PR).

If you need help:

To see the full list of possibilities, please check our contribution page.

License

DietPi-Website by DietPi is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License - CC BY-SA 4.0.

  • Original website theme: Pluton by Graphberry
  • Initial content author and webmaster until 2019: Daniel Knight (Fourdee)
  • This website shows logos of 3rd party software and providers which are excluded from the above license. They may only be used related to their product, for details, check individual trademark rules and licenses.

3rd party resources

About

Repository for the DietPi OS website

https://dietpi.com/

License:Creative Commons Attribution Share Alike 4.0 International


Languages

Language:HTML 58.3%Language:JavaScript 39.2%Language:CSS 2.2%Language:Shell 0.4%