Skip to content

lukespice/winderful

 
 

Repository files navigation

DIAS_ Winderful wind

Out little project to show the current and past wind power generated in the UK in a graphical manner. View project.

Installation instructions

  1. clone the repository

    git clone [email protected]:diascreative/winderful.git

  2. enter the project folder

    cd power

  3. create a new database

    mysql > CREATE DATABASE power;

  4. set up the database structure

    mysql power < /assets/power.db.schema.sql

  5. define the project settings

    • copy config.sample.php into config.php

      cp inc/config.sample.php inc/sample.php

    • edit sample.php so that it has the correct DB settings

Initial setup

  1. populate the DB with the latest data

    php json/update-db.php

    (you can also run this from the browser)

  2. For development purposes you will need to

    1. install npm

    2. install the project dependencies

      npm install

    3. run gulp

      gulp

      Keep this terminal open so that it automatically lints, concatenates and compresses our JS and SASS.

Dev notes

All front-end changes should be made to the files in /assets never to those in static. Gulp will clean staticregularly and any changes made there will be lost.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.0%
  • PHP 22.5%
  • CSS 10.3%
  • HTML 2.1%
  • ApacheConf 0.1%