Out little project to show the current and past wind power generated in the UK in a graphical manner. View project.
clone the repository into a folder called winderful
git clone https://github.com/diascreative/winderful.git
enter the project folder
create a new database
mysql > CREATE DATABASE power;
set up the database structure
mysql power < /assets/power.db.schema.sql
define the project settings
copy config.sample.php into config.php
cp inc/config.sample.php inc/config.php
edit config.php so that it has the correct DB settings
populate the DB with the latest data
(you can also run this from the browser)
For development purposes you will need to
install the project dependencies
Keep this terminal open so that it automatically lints, concatenates and compresses our JS and SASS.
TODO - help us out with a PR if you can
- Change the update script to get data from BM reports directly instead of gridwatch
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.