Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.
/ otc-blogs Public archive

A multisite WordPress installation to support some of OTC's specialized websites

Notifications You must be signed in to change notification settings

OpenTwinCities/otc-blogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Twin Cities Blogs

Install

  1. Get this repo

git clone https://github.com/OpenTwinCities/otc-blogs.git

  1. Install Dependencies

./setup.sh dependencies

  1. Configure Apache

A sample VirtualHost config is in the apache folder. Copy that into /etc/apache2/sites-avaiable, then edit it as needed. In particular, make sure the DocumentRoot is set to the public folder of this repo, and make sure the <Directory> block at the bottom points to this repo.

Now, enable the otc-blogs site, and the rewrite mod, and restart Apache:

sudo a2ensite otc-blogs
sudo a2enmod rewrite
sudo service apache2 restart

You will also need to change the group owner and permissions of this repo's public folder to be Apache's group:

sudo chgrp -R www-data public
sudo chmod -R 755 public
  1. Install PHP dependencies
cd otc-blogs
composer install
  1. Setup the Database. See Wordpress's Using the MySQL Client Instructions

  2. Copy and edit config file

cp local-config.php.sample local-config.php
nano local-config.php

If you're hosting on something besides localhost, be sure to set DOMAIN_CURRENT_SITE to your actual domain name.

  1. Install Wordpress with Multisite.

./setup wordpress <domain_name> <admin_email> <admin_password>

About

A multisite WordPress installation to support some of OTC's specialized websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published