This is the source code for the main part of the 6502.org website, which is everything except the forum, users' pages, and the PDF files in the documents archive.
The website requires a Unix-like machine (e.g. Linux, macOS) and PHP version 5.4 through 7.4. It is not yet compatible with PHP 8. The PHP option short_open_tag
must be enabled and the pdo_sqlite
extension must be installed.
On Ubuntu Desktop 22.04 LTS, these commands will install the requirements:
$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt update
$ sudo apt install git php7.4-cli php7.4-sqlite3
You can then clone this Git repository and run the website locally using PHP's built-in webserver:
$ git clone https://github.com/6502org/6502.org.git
Cloning into '6502.org'...
remote: Enumerating objects: 5079, done.
remote: Counting objects: 100% (326/326), done.
remote: Compressing objects: 100% (163/163), done.
remote: Total 5079 (delta 191), reused 267 (delta 161), pack-reused 4753
Receiving objects: 100% (5079/5079), 225.12 MiB | 10.33 MiB/s, done.
Resolving deltas: 100% (3459/3459), done.
$ cd 6502.org
$ php7.4 -d short_open_tag=on -S localhost:8000 -t public/ local.php
[Tue Nov 1 12:55:02 2022] PHP 7.4.32 Development Server (http://localhost:8000) started
Open a browser to http://localhost:8000/ to view it.
Although the PDF files for the documents archive are not included in this Git repository, they will be served from archive.org when the website is run locally.