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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Installing

  1. Setup AWS as usual.
  2. Install git:
    1. sudo apt-get update
    2. sudo apt-get install git-core
  3. Read the instructions at Lacuna Stories
  4. Install LAMP:
    1. Begin with Apache2 sudo apt-get install apache2
    2. Install MySQL sudo apt-get install mysql-server
    3. Install PHP 5.6 sudo apt-get -y install php5 libapache2-mod-php5
  5. Install Drush for updates php -r "readfile('https://s3.amazonaws.com/files.drush.org/drush.phar');" > drush
  6. Git Lacuna Stories at /var/www/html git clone https://github.com/PoeticMediaLab/LacunaStories.git (and probably change to "lacunastories"
  7. Clone Annotator.js sudo git clone https://github.com/openannotation/annotator.git
  8. Clone D3 sudo git clone https://github.com/d3/d3.git
  9. Follow Drupal installation instructions from step 3
    1. Create MySQL database sudo mysql -p -e "CREATE DATABASE databasename CHARACTER SET utf8 COLLATE utf8_general_ci";
    2. Log in to MySQL sudo mysql -p, then exit
  10. Open /lacunastories/install
    1. If "The directory sites/default/files is not writable," The directory sites/default/files is not writable. sudo chmod 775 files