GithubHelp home page GithubHelp logo

candidate-website's Introduction

Candidate Pages

This is a template for our candidate sites โ€“ you can find them deployed at https://alisonhartson.com, https://votesarahsmith.com, https://ocasio2018.com, https://bell2018.com, https://anthonyclark2018.com, https://paulajean2018.com, https://votecoribush.com, and https://chardo2018.com.

Running Locally

You must have Elixir 1.5+ installed (1.6 would be great for auto-formatting).

To do that, visit https://elixir-lang.org/install.html and follow the instructions for your operating system.

After that, assuming you've installed Git, run:

git clone https://github.com/justicedemocrats/candidate-website.git
cd candidate-website/
mix deps.get
mix phx.server

And then visit http://localhost:4000/?candidate=alexandria-ocasio-cortez in your browser.

?candidate=some-slug is a required parameter.

Making Changes

To make changes, modify the templates in /lib/candidate_website/templates, or the Stylus in /assets/stylus, and your changes will hot-reload.

What's Happening

This is a barebones Elixir/Phoenix app which fetches content from CosmicJS, which is an API first CMS.

candidate-website's People

Contributors

ben-pr-p avatar leosussan avatar odiumediae avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.