Git Product home page Git Product logo

accuconf_schedule_web_application's Introduction

License: MIT Build Status

ACCU 2017 Elm-based schedule app

This is an Elm-based web application for browsing the ACCU 2017 conference schedule.

The structure of this project is largely derived from the excellent Elm Tutorial.

To build and run the app, make sure you've installed:

Configuring the environment

The app reads certain configuration information from the file .env. You can find an example of this file in dot.env. Before you can run the system, you need to copy dot.env to .env and edit it as approporiate, for example:

cp dot.env .env
vi .env

The default configuration should be good for local development purposes, but you'll want to use different environments for various deployment scenarios.

Building

First install the necessary npm dependencies:

npm install

Then build the Elm code:

npm run build

If this succeeds, the compiled and web-packed code will be in the dist directory.

Running the development server

For development purposes, we've included a simple server that provides the necessary JSON to the web client. This is usually simpler to use than a full local or remote version of the ACCU website.

To use this, you'll first need to install node-foreman:

npm install -g foreman

You can then use node-foreman to run the API server along with a simple server for the web client:

nf start

After that the app should be available on http://localhost:3000.

When the development server is running, it will monitor changes to the source code and recompile/redeploy as necessary. This is probably what you want to do if you're hacking around in the code; it provides a very responsive edit-run cycle.

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.