Skip to content

amacdougall/raiseyourgame

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
env
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Raise Your Game

Source code for raiseyourga.me, which will eventually be a community annotation site for Youtube videos. Whether the world needs this project is immaterial; I'm doing it to practice Clojure and ClojureScript.

Prerequisites

You will need Leiningen 2.0 or above installed.

Running

This application is based on the Luminus scaffolding generator, with the +postgres, +auth, +swagger, and +cljs profiles. Somewhat modified at this point, and will no doubt diverge further.

I suggest starting the REPL with lein repl, and then starting and stopping the webserver with (start-http-server <port>) and (stop-http-server).

lein test will run the tests, but you can also use lein test-refresh to autorun tests on file changes.

Running CLJS Tests

The CLJS tests use https://github.com/bensu/doo; follow the instructions in the Doo readme to set up the Karma test runner. Run the tests under Chrome or Firefox:

lein doo <runner> admin-test [once]

The chrome, firefox, phantom, and slimer runners are known to be working; I didn't trouble myself to set up the node runner, since the CLJS will only ever run in the browser anyway.

License

Copyright © 2016 Alan MacDougall

About

A video annotation site written in Clojure/ClojureScript

Resources

Stars

Watchers

Forks

Packages

No packages published