LacunaStories
From TSAS Library
Revision as of 20:55, 13 November 2016 by 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...")
Installing
- 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 775 files
- If "The directory sites/default/files is not writable,"