forked from 4clojure/4clojure
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'cmeier/master' into develop
Conflicts: project.clj src/foreclojure/data-set.clj
- Loading branch information
Showing
4 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 4Clojure | ||
|
||
An interactive problem website for Clojure beginners | ||
[https://www.4clojure.com](https://www.4clojure.com). | ||
|
||
## Setup instructions for running locally | ||
|
||
* Download and install [leiningen](https://github.com/technomancy/leiningen). | ||
* Download and install [mongodb](http://www.mongodb.org/). | ||
* The project uses [clojail](https://github.com/Raynes/clojail) That | ||
requires a security policy setup in your home directory. Setup a file | ||
called .java.policy in your home directory. The contents should | ||
look like this | ||
grant { | ||
permission java.security.AllPermission; | ||
}; | ||
|
||
* CD in the project and run "lein deps". | ||
* Start up your mongodb, if you don't have autostart | ||
mongod | ||
* For the first time use, you will need to load the problem data run | ||
* the script load-data.sh | ||
./load-data.sh | ||
* Run lein ring server and the browser should open for you. | ||
lein ring server | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
project_classpath=`lein classpath` | ||
echo $project_classpath | ||
java -cp $project_classpath clojure.main ./src/foreclojure/data-set.clj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters