Skip to content

irclogs/elm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and Deploy

IrcLog CouchApp - a web app to view irclogs

The logs are stored in couchdb.

The single page web app is written in elm and stored as a couchapp in couchdb attachments.

Quick start - for developers

Clone this repo, run elm-reactor and open http://localhost:8000/index.html. elm-reactor will compile the source automatically when needed (will also download dependencies). Then just edit files and hit refresh.

Production

To compile run make build that will build everything in dist/, which you can then copy to a web server (or just serve with python -m http.server). uglifyjs is required for this too.

Finally run make COUCHDB=https://user:pass@server/db publish to push a specially prepared design document to a couchdb instance.

Requirements