Skip to content

Legacy legal code translations and general support issues

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

creativecommons/creativecommons.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CC WordPress 2013

Set-up

There are some handy setup scripts in the scripts directory. On a fresh Ubuntu 12 server, you should only need to run scripts/bootstrap.sh, which calls other scripts to set most things up. See below for some details on the other scripts.

Note that one of the scripts is run with sudo. If you don't have sudo enabled for this user, then you'll need to run the scripts manually.

Regardless of how you run the setup scripts, you'll still need to manually configure a few things:

  1. Edit docroot/wp-config-local.php and fill in values as needed by WordPress.
  2. Set up SSL keys in /etc/ssl/*
  3. Edit /etc/apache2/sites-available/(hostname) if needed (e.g. to change SSL key locations)
  4. Load DB data from another WordPress install (see below)

Loading DB data

If you want to import DB data from another WordPress install, use the mysqldump / mysql utilities to create a backup and restore it here:

# on the source machine:
mysqldump -u root dbname | gzip > backup.sql.gz

# ... copy (eg. with scp) ...

# then on this machine:
zcat backup.sql.gz | mysql -u root -p dbname

Bootstrap scripts (details)

Note that the scripts/bootstrap.sh script calls these for you. But if something goes wrong / you want to know more:

  • scripts/bootstrap_server_ubuntu.sh: Will configure an Ubuntu 12 server (install packages and enable apache modules, etc).

  • scripts/bootstrap_mysql.sh: Creates a database and user with specified password. Use these values in your wp-config-local.php file (see below).

  • scripts/bootstrap_checkout.sh: Sets up this checkout by downloading git submodules, creating a virtual Python environment, etc.

Happy hacking!

About

Legacy legal code translations and general support issues

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING

Code of conduct

Stars

Watchers

Forks

Languages