These sources are outdated. Check the new version here
This repository contains all the necessary files for Hydrofiel.nl. Contact me at webmaster@hydrofiel.nl if you want the config files for the live version (implying that you are a member of Hydrofiel and are willing to work on the website).
First and foremost, clone this repository in the desired directory!
For hosting the local development environment, docker is used.
Install docker for your operating system. See their documentation for information.
Make sure to add the following line to your /etc/hosts (Google to see how this is done on windows machines!)
127.0.0.1 hydrofiel.test
- Make sure that you have
yarninstalled on your machine (installation guide) - Run
yarn installto download all dependencies - Run
grunt buildto build all assets
Optional: if you plan on making changes to the sass or js files, you can run grunt watch to keep building the assets in the background.
Run docker-compose up to start up everything. You should be able to visit the website on hydrofiel.test.
Static assets like images are stored in git-lfs. Make sure you have installed this on your machine and then run git lfs pull to fetch all images.
The project adheres to the following directory structure:
application: the CodeIgniter folderassets: contains the JS and CSS files needed to run the websitedocker: contains docker configuration files, an empty MySQL database dump and a directory for MySQL persistencefonts: contains FontAwesome files and other fonts that are used on the websitefotosandimages: both contain foto's and images used on the websitejs: the JS source files that are build to theassetsdirectorysass: the sass sources for the websitesystem: the CodeIgniter system directory