🇳🇱 Eigen content management systeem ontwikkeld in PHP en MySQL. Inclusief inlogsysteem, mogelijkheid om zelf gebruikers en pagina's aan te maken en bestanden te uploaden. Voor Demi Spaargaren, Grafisch vormgever & student Communication & Multimedia Design.
- Open .htaccess & disable the following rules:
# RewriteCond %{HTTPS} !=on
# RewriteRule ^(.*)$ https://www.demispaargaren.nl/$1 [L,R=301]
# RewriteCond %{HTTP_HOST} !www.demispaargaren.nl$ [NC]
# RewriteRule ^(.*)$ https://www.demispaargaren.nl/$1 [L,R=301]
-
Run
make install -
Run
make start -
Go to phpMyAdmin http://localhost:8080 & import the database
- User: root
- Pass: root
- Open the frontend: http://localhost:8000 or cms http://localhost:8000/admin_cms
This project started in late 2014 with tools like:
- Plain php (No framework)
- All code mostly in Dutch
- Developing using MAMP, a local database & CodeKit
- Manually uploading the new code via FileZilla
In 2022 i've added:
- Git version control
- Docker setup with make commands and a readme for easy development
- Xdebug to find php problems
- Store database & ftp credentials in environment variables instead of the code itself
- Composer to download assets instead of downloading and saving them locally
- Saving passwords with encryption
- Migration to PDO to somewhat prevent sql injections