OpenTrack athletics database - main web site
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 343 commits ahead of Gus06:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__src
_data
_includes
_layouts
_posts
_team
about
assets/img
dist
docs
philosophy
product
screenshots
style-guide
.babelrc
.browserslistrc
.editorconfig
.eslintignore
.eslintrc
.gitignore
.gitmessage
.prettierignore
.prettierrc
404.html
CNAME
Gemfile
README.md
_config.yml
about.md
contact.md
favicon.ico
index-v1.html
index.html
news.html
openath.sublime-project
openath.sublime-workspace
package.json
results.md
robots.txt
screenshots.html
style-guide.html
team.html
webpack.config.js
yarn.lock

README.md

openath.github.io

OpenTrack athletics database - main web site

Built on Jekyll, Bootstrap 4 and Webpack.

First off

bundle install bundle update

Check scripts in package.json to get the site up and running locally using either yarn or npm.

yarn install all node packages

All front end assets are in /__src/ folder and written to /dist/ folder by webpack, running yarn run clean will clear out /dist/ folder.

yarn run start to fire up local development mode

First load of http://localhost:3000 displays "Cannot GET /". Once Webpack and Browser-sync finish up you should see the actual website after a hard refresh.

We are using Webpack as it will let us integrate the latest ES6 modular code – might need to look at optimising build speeds at some point. Reloads while in dev are pretty slow atm as Jekyll can only reload assets after Webpack has generated the separate CSS file from SCSS using Webpack’s ExtractTextPlugin.

yarn run build to build production files