Voteflux.org website. Version 2
Clone or download
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.
_about
_candidates
_data
_includes
_layouts
_plugins
_posts
_sass
_wa-candidates
_wa-posts
_wa-team
attribution
branch
css
elmSrc
favicons
img
js
login-old
pdf
press-releases
react-signup
redirects
wa
.babelrc
.editorconfig
.gitignore
.netlify
404.html
Gemfile
Gemfile.lock
LICENSE
README.md
_config.yml
_record_login_param.html
_redirects
about.html
animated-logo.html
app-old-link.html
blog.html
branches.html
browserconfig.xml
candidates.html
constitutions.html
contact.html
contributing.json
dashboard.html
donate-thankyou.md
donate.html
election-calendar.html
elm-package.json
googlef2986453dfb56857.html
help-us.html
htv.html
index.html
letter-to-parties.html
login.html
manifest.json
members.html
package-lock.json
package.json
press.html
robots.txt
s3-stats.html
signup-2.html
sitemap.xml
slack.html
tsconfig.json
volunteer-thankyou.html
wa-candidates.html
wa-landing-1.html
wa-landinghome.html
wa-team.html
webpack.config.js
yarn.lock

README.md

Instructions

Dependencies

We presume your environment is OSX.

  • Install node, npm, ruby, yarn first
  • macOS: brew install ruby node npm yarn
  • ubuntu: sudo apt install ruby nodejs (aside: does this include npm?)
  • Ubuntu: Note: you'll need to install yarn yourself
  • Install dependencies: gem install bundle then bundle install then yarn install

Development

  • To run a development copy for everything run yarn flux
  • To simulate a build run yarn build

Deployment

  • Deployments automatically happen via the master branch.
  • All merges require a PR.

Hints and Tips

brew install ruby for ruby

gem install bundle for bundle

bundle install to install dependencies

bundle exec jekyll serve --watch to run a dev server for just jekyll stuff.

React is used for the signup form but not for anything else.