https://github.com/andeemarks/crypto-square
https://github.com/andeemarks/crypto-square
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andeemarks/crypto-square
- Owner: andeemarks
- Created: 2015-05-19T08:07:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-17T11:51:41.000Z (over 9 years ago)
- Last Synced: 2025-02-01T03:08:14.331Z (12 months ago)
- Language: Clojure
- Size: 112 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# crypto-square
[](https://travis-ci.org/andeemarks/crypto-square)
A minimal Compojure web-app built for a presentation at [Yow West 2015][1], and providing a basic UI for the Crypto Square solution found [here][3].

## Prerequisites
Currently building on:
- [Leiningen][2] 2.5.1
- [Docker][6] 1.9.0
- [Docker Machine][7] 0.6.0
- [Docker Compose][8] 1.5.1
## Running
To make deployment and startup of the application easier, the repo for the front-end (crypto-square) is configured to start all the services using Docker Compose.
To start all the services for the application, run:
./docker-compose up
Note: the first time you run this command, it make take 20 minutes to download all the dependencies to run the services. This is a bootstrapping tax and subsequent invocations should be very quick.
To access the front-end of the application, you need to point your browser to port 3000 on the IP of the Docker VM. The easiest way to do this is often via a command like:
eval "open http://$(docker-machine ip):3000"
## Browser Tests
To test the app using [clj-webdriver][4] on port 4000, run:
lein midje
Note: this assumes you have the [Chrome Driver][5] installed at ~/bin/chromedriver
## License
Copyright © 2015
[1]: https://a.confui.com/-LsHgG00I
[2]: https://github.com/technomancy/leiningen
[3]: http://garajeando.blogspot.com.au/2015/05/exercism-crypto-square-in-clojure.html
[4]: https://github.com/semperos/clj-webdriver
[5]: https://sites.google.com/a/chromium.org/chromedriver/
[6]: https://www.docker.com/
[7]: https://www.docker.com/products/docker-machine
[8]: https://www.docker.com/products/docker-compose