Difference between revisions of "LacunaStories"
From TSAS Library
JStallings (talk | contribs) (Created page with "==Installing== # Setup AWS as usual. # Install git: ## <code>sudo apt-get update</code> ## <code>sudo apt-get install git-core</code> # Read the instructions at [https://gith...") |
JStallings (talk | contribs) |
||
Line 1: | Line 1: | ||
== | ==Installation== | ||
# Setup AWS as usual. | # Setup AWS as usual. | ||
# Install git: | # Install git: | ||
Line 17: | Line 17: | ||
## Log in to MySQL <code>sudo mysql -p</code>, then <code>exit</code> | ## Log in to MySQL <code>sudo mysql -p</code>, then <code>exit</code> | ||
# Open /lacunastories/install | # Open /lacunastories/install | ||
## If "The directory sites/default/files is not writable," <code>The directory sites/default/files is not writable. <code>sudo chmod | ## If "The directory sites/default/files is not writable," <code>The directory sites/default/files is not writable. <code>sudo chmod 777 files</code> | ||
## If copy and rename <code>sudo cp default.settings.php default/settings.php</code>, then <code>sudo chmod 777 sites/default/settings.php</code> | |||
## If "No PDO," then <code>sudo apt-get install pdo-mysql</code> | |||
## Run <code>sudo service apache2 restart</code> | |||
## Run <code>sudo service mysql restart</code> |
Revision as of 21:29, 13 November 2016
Installation
- Setup AWS as usual.
- Install git:
sudo apt-get update
sudo apt-get install git-core
- Read the instructions at Lacuna Stories
- Install LAMP:
- Begin with Apache2
sudo apt-get install apache2
- Install MySQL
sudo apt-get install mysql-server
- Install PHP 5.6
sudo apt-get -y install php5 libapache2-mod-php5
- Begin with Apache2
- Install Drush for updates
php -r "readfile('https://s3.amazonaws.com/files.drush.org/drush.phar');" > drush
- Git Lacuna Stories at /var/www/html
git clone https://github.com/PoeticMediaLab/LacunaStories.git
(and probably change to "lacunastories" - Clone Annotator.js
sudo git clone https://github.com/openannotation/annotator.git
- Clone D3
sudo git clone https://github.com/d3/d3.git
- Follow Drupal installation instructions from step 3
- Create MySQL database
sudo mysql -p -e "CREATE DATABASE databasename CHARACTER SET utf8 COLLATE utf8_general_ci";
- Log in to MySQL
sudo mysql -p
, thenexit
- Create MySQL database
- Open /lacunastories/install
- If "The directory sites/default/files is not writable,"
The directory sites/default/files is not writable.
sudo chmod 777 files
- If copy and rename
sudo cp default.settings.php default/settings.php
, thensudo chmod 777 sites/default/settings.php
- If "No PDO," then
sudo apt-get install pdo-mysql
- Run
sudo service apache2 restart
- Run
sudo service mysql restart
- If "The directory sites/default/files is not writable,"