GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - phpmyadmin/website: phpMyAdmin's website generator

BranchesTags
Open more actions menu

Latest commit

 

History

2,855 Commits
2,855 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.well-known
.well-known
 
 
data
data
 
 
demo
demo
 
 
files
files
 
 
monitoring
monitoring
 
 
news
news
 
 
pmaweb
pmaweb
 
 
security
security
 
 
translations
translations
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.jshintrc
.jshintrc
 
 
.landscape.yaml
.landscape.yaml
 
 
.pep8
.pep8
 
 
README.rst
README.rst
 
 
build.xml
build.xml
 
 
codecov.yml
codecov.yml
 
 
manage.py
manage.py
 
 
pylint.rc
pylint.rc
 
 
requirements-test.txt
requirements-test.txt
 
 
requirements.txt
requirements.txt
 
 
sponsors.html
sponsors.html
 
 

Repository files navigation

Website for phpMyAdmin

Django code for phpMyAdmin's website.

Tests https://codecov.io/github/phpmyadmin/website/coverage.svg?branch=master

Requirements

Website needs Python 3.13, additional dependencies are listed in requirements.txt.

Security announcements and news

Edit announcements and news entries in the web UI.

Security issues are not publicly visible as long as they are marked as draft. They are accessible through a separate URL (you can click View on the site link while editing).

Page generating

Each page has its own template. For most things it means inclusion of other templates to generate full page.

Menu

Menu is configured in data/menu.py, the first element always means page name second menu item title.

Themes

Themes require additional metadata, which is stored in data/themes.py.

Awards

All awards are listed in data/awards.py.

Screenshots

All screenshots are listed in data/screenshots.py.

Development

For development, first install dependencies. The ones needed for running the server are listed in requirements.txt and the ones for running the testsuite are in requirements-test.txt.

You can install them using pip or using packages from your distribution (see Debian packages) to avoid to have to use --break-system-packages.

pip install -r requirements-test.txt

You will need to apply migrations before loading test data:

./manage.py migrate

You might want to import some data to have at least some content on the website:

./manage.py loaddata pmaweb/fixtures/test_data.json

Once you have all dependencies, you can start the development server:

./manage.py runserver

It will listen on port 8000 by default (or use: ./manage.py runserver 127.0.0.1:8080 for a different port).

To run the test-suite execute:

./manage.py test

To add a new user (for /admin/):

./manage.py createsuperuser

Deployment

On a Debian Trixie server:

# Install Python pip
apt install -y \
python3-django \
python3-dateutil \
python3-feedparser \
python3-django-markupfield \
python3-docutils \
python3-markdown \
python3-pytz \
python3-bs4 \
python3-django-compressor \
python3-django-appconf \
python3-mysqldb

You might need to ensure the PYTHONPATH ENV variable is set to the correct value. Or commands will output ModuleNotFoundError: No module named 'django' or something very similar.

Cron jobs:

# Update translation stats
./manage.py fetch_translations
# Update blog posts
./manage.py fetch_blog

File releases scan:

# Import new releases from file storage
./manage.py import_files
# Import new themes from file storage
./manage.py import_themes

License

The website generator is licensed under GNU GPL version 2 or later.

Website itself uses some MIT licensed frontend libraries:

  • Bootstrap 5
  • Bootstrap Icons
  • bs5-lightbox

The website content is licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

About

phpMyAdmin's website generator

www.phpmyadmin.net/

Topics

djangophpmyadminpythonwebsite

Resources

Readme

Security policy

Security policy
Activity
Custom properties

Stars

54 stars

Watchers

17 watching

Forks

103 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.