|Cian Butler 8a77ee01cc||1 year ago|
|.circleci||4 years ago|
|pages||4 years ago|
|theme||4 years ago|
|.babelrc||4 years ago|
|.codeclimate.yml||4 years ago|
|.eslintignore||4 years ago|
|.eslintrc.js||4 years ago|
|.gitignore||4 years ago|
|LICENSE.md||5 years ago|
|README.md||1 year ago|
|config.json||4 years ago|
|docker-compose.yml||1 year ago|
|gulpfile.js||4 years ago|
|package.json||4 years ago|
|yarn.lock||1 year ago|
This repository contains the Techweek website The website was written to have the Google Material Design look and feel. MaterializeCSS was used to speed up the process.
To deploy to a server just run from the parent of of the folder you want to deploy too. Example written assuming folder deployed is techweek/dist
git clone https://github.com/redbrick/techweek.git cd techweek npm install
docker-compose run --rm web yarn
The events.json contains a JSON object containing all events pages.
All the pages themselves are stored in events folder. Each page is a json file
with all the details about that years talks.
The JSON is used to fill a mustache template since all the pages are the same
format and layout and output to dist. The page called Home in the
will be set as the main page.
main.js file is responsible for displaying the countdown and loading the
video feed. Also, it changes colour of the header and individual days, depending
on the amount of times you have visited the page. It also handles the #Day so a
specific day can be linked to.
Gulp concats this with materilize and minifies it to
gulp dev which will compile the less, watch it and start a webserver at
localhost:8000 to view the site.
docker-compose run --rm web yarn docker-compose up -d
All the css is compiled from scss in the css directory.
gulp dev to have gulp watch the less directory and compile all the less in
gulp to compile the sass to css in