|
|
há 1 mês atrás | |
|---|---|---|
| app | há 1 mês atrás | |
| config | há 1 mês atrás | |
| data | há 1 mês atrás | |
| docs | há 1 mês atrás | |
| public | há 1 mês atrás | |
| .gitignore | há 1 mês atrás | |
| .htaccess | há 1 mês atrás | |
| README.md | há 1 mês atrás |
A flat-file PHP website for photographers, built for plain shared webhosting. No database, no framework, no build step — upload via FTP/SFTP and it runs.
curl and openssl (standard on shared hosting).htaccess support (or any server with the document root
pointed at public/)cp config/config.sample.php config/config.php # fill in S3 + site settings
cp config/credentials.sample.php config/credentials.php # default login: admin / changeme
php -S localhost:8080 -t public # local preview
Then open http://localhost:8080/admin/, log in, and change the password first (Settings).
public/ web root (point your domain here)
app/ PHP library code (not web-accessible)
config/ static configuration + admin credentials
data/ flat-file content storage (JSON)
docs/ documentation