Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

nickspaargaren/demispaargaren.nl

Repository files navigation

Demi Spaargaren

🇳🇱 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.

cms-pages

Local Development

  1. 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]
  1. Run make install

  2. Run make start

  3. Go to phpMyAdmin http://localhost:8080 & import the database

  • User: root
  • Pass: root
  1. Open the frontend: http://localhost:8000 or cms http://localhost:8000/admin_cms

History

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

About

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages