agnosis-be / multisite

Multi-site CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multisite

Multi-site CMS for personal websites

Motivation

I wanted to host several personal websites using different domains on the same server, without code or database duplication. Here's what I did.

CMS features (GUI)

  • Change layout of your website by changing the site template/design
  • Upload individual images (.jpg) or documents (.pdf), to be displayed or hyperlinked on a page
  • Upload a set of images (.jpg), to be published as album on a page
  • Add and edit individual pages using a rich text editor
  • Secure individual pages with an URL password

Programming language and DBMS

Third-party software and artwork

Demo

Local installation

Assuming that you have a webserver, PHP and MySQL installed (see above), and downloaded or cloned this repository:

  1. Follow instructions in app/thirdparty/composer/EXTERNAL.md
  2. Follow instructions in www/bcknd/static/js/EXTERNAL.md
  3. Connect to your MySQL Server and run all scripts in dbdump/ starting with 01.sql
  4. Let a domain or subdomain point to www/multisite (shared frontend files for all websites)
  5. Let a domain or subdomain point to www/bcknd (shared backend for all websites)
  6. Let a domain or subdomain point to www/demo (demo website)
  7. Copy app/setup.ini.skel to app/setup.ini
  8. Set configuration values in app/setup.ini
  9. On your MySQL server, run UPDATE multisite.tblSite SET URL = '(demo domain)' WHERE ID = 1, where demo domain is the domain configured in step 6
  10. Open the domain configured in step 6 in your browser to access the demo website
  11. Open the domain configured in step 5 in your browser to edit your website using user name demo and password showme

About

Multi-site CMS


Languages

Language:PHP 71.8%Language:Smarty 15.2%Language:CSS 11.2%Language:JavaScript 1.0%Language:HTML 0.8%