Home

Awesome

<h1 align="center"><img src="https://raw.githubusercontent.com/MichaIng/DietPi-Website/master/images/dietpi-logo_180x180.png" alt="DietPi logo" width="180" height="180" loading="lazy"></h1> <p align="center"> <b>Lightweight justice for your single-board computer!</b> <br><br> optimised • simplified • for everyone <br><br> <a href="https://dietpi.com/" target="_blank" rel="noopener">Website</a> • <a href="https://dietpi.com/#download" target="_blank" rel="noopener">Downloads</a> • <a href="https://dietpi.com/docs/" target="_blank" rel="noopener">Documentation</a> • <a href="https://dietpi.com/forum/" target="_blank" rel="noopener">Forum</a> • <a href="https://dietpi.com/blog/" target="_blank" rel="noopener">Blog</a> </p> <hr> <p align="center"> <strong>Ready to run</strong> optimised software choices with <a href="https://dietpi.com/dietpi-software.html" target="_blank" rel="noopener"><strong>dietpi-software</strong></a> <br>Feature-rich configuration tool for your device with <strong>dietpi-config</strong>. </p> <hr>

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:

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

<a rel="cc:attributionURL" property="dct:title" href="https://dietpi.com/" target="_blank" rel="noopener">DietPi-Website</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://dietpi.com/" target="_blank" rel="noopener">DietPi</a> is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License - <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener">CC BY-SA 4.0</a>.

<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"><img src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"></a>

3rd party resources