Giter VIP home page Giter VIP logo

centos-drupal's Introduction

REPOSITORY ARCHIVED.

centos-drupal

This is an attempt of sharing development environment which reduces the cost of maintaining a local LAMP stack and avoid confusion due to slightly different configurations among developers. It is built for continuous delivery/integration of the Drupal web layer within GBIF Secretariat.

Please note that the Drupal content is not accessible to non-staff of GBIFS. You may use the 'drupal' role, instead of 'gbif-drupal', to setup with a standard Drupal profile.

This project uses:

  • Vagrant for building the development environment, with vagrant-hostsupdater plugin required;
  • Ansible for configuration management;
  • VirtualBox as the hosting machine;
  • CentOS 6.5 as the hosted virtual machine;
  • PHPStorm as the integrated development environment.

The above also explains the prerequisites before you start. Once ready, the following steps will give you a fully functioning GBIF Drupal web layer, excluding the data search pages and GBIF API:

  1. $ git clone https://github.com/burkeker/centos-drupal.git && cd centos-drupal

  2. cp provisioning/example-settings.yml provisioning/settings.yml

    • Create provisioning/settings.yml by copying provisioning/example-settings.yml;
    • Review settings;
    • Locally, make sure you don't have ~/dev/git/gbif-drupal, which will be created to sync with Drupal files remotely from the virtual machine.
  3. vagrant up

That's it.

Visit http://d7.centos-dev.local or http://localhost:8083to visit the website. For the first visit it will take short while to load. After a few click-around the website should run with normal performance.

Debug

This is still yet well tested. For now try import phpstorm/settings.jar.

centos-drupal's People

Contributors

ckotwn avatar

Watchers

 avatar  avatar

centos-drupal's Issues

Latency for the first time accessing the website

There is an 'initialising' time when visit the website for the first time. Once loaded, clicking around becomes faster, though still have room to improve.

So far the investigation shows:

  1. The latency is not a constant 5 seconds, which would be related to some DNS settings;
    24s
  2. Putting static page does make the loading faster; a static page with external JS to load is the same fast;

screen shot 2014-07-08 at 11 53 54 am

To investigate mysqld...

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.