Giter VIP home page Giter VIP logo

ewa's Introduction

EWA

Local development server

This repository contains code and instructions to set up a local blank copy of the EWA website on a desktop computer

Steps:

  1. Download and install Virtualbox, Vagrant, and git.
  • IMPORTANT: On Windows, during the installation of Git, a screen will appear asking you to configure line ending conversions, choose the second option, Checkout as-is, commit Unix-style line endings. There is a screenshot within the root of this repository.
  1. Open the command prompt/console/terminal. If using Windows, the command prompt needs to be 'run as administrator'. Instructions for this can be found online and will vary according to the version of Windows being used.

  2. Install vagrant-hostsupdater plugin by running vagrant plugin install vagrant-hostsupdater.

  3. Choose a location on your machine and clone the repository: git clone https://github.com/ox-it/ewa. Git will automatically checkout the repository to a new ewa folder.

  4. Copy ewa/puppet/hieradata/ewa.vm.yaml.dist to ewa/puppet/hieradata/ewa.vm.yaml. Open this file for editing, go to the bottom and insert the provided credentials in ewa::svn::username: and ewa::svn::password: (Please ensure there is a space between the name and the value, i.e. ewa::svn::username: myusername instead of ewa::svn::username:myusername)

  5. cd into the ewa/vagrant directory.

  6. Run the following command: git submodule update --init --recursive

  7. Copy Vagrantfile.dist to Vagrantfile

  8. Enter the command vagrant up. Wait a few minutes for the provisioning process to complete.

  9. Navigate to ewa.vm in your web browser.

  10. Database access is available at http://ewa.vm/phpmyadmin. The username is ewa and the password is password

  11. To shut the virtual machine down, run vagrant halt

Remote development server (running Ubuntu 14.04 LTS)

Steps:

  1. Copy the contents of the puppet directory to /etc/puppet on the server
  2. cd into /etc/puppet, make the install_puppet.sh script executable and run it as root or via sudo: sudo ./install_puppet.sh
  3. Copy /etc/puppet/hieradata/ewa-dev.oucs.ox.ac.uk.yaml.dist to a file that reflects the actual hostname of the machine, for example my-ewa-dev.co.uk.yaml, open the file for editing and populate the security credentials at the bottom
  4. cd into /etc/puppet and run sudo puppet apply manifests/site.pp. Wait a few minutes for the process to complete.
  5. Navigate to http://DOMAIN_NAME/ in your web browser.
  6. Database access is available at http://DOMAIN_NAME/phpmyadmin. The credentials are in the hieradata/yaml file

ewa's People

Contributors

drewhemm avatar tkoterwas avatar

Watchers

Alex Dutton avatar Sebastian Rahtz avatar James Cloos avatar Phill (pssc) avatar  avatar John Tarling avatar  avatar Richard Buckner avatar Kevin McGlynn avatar Andy Haith avatar  avatar Emmanuel Awoonor avatar Andrew Robinson avatar Richie Yeung avatar Matthew Castle avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.