Giter Site home page Giter Site logo

multisite's Introduction

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

multisite's People

Contributors

agnosis-be avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.