https://github.com/bfollington/roam-7guis
Implementation of 7guis in cljs
https://github.com/bfollington/roam-7guis
7guis cljs clojure clojurescript
Last synced: about 2 months ago
JSON representation
Implementation of 7guis in cljs
- Host: GitHub
- URL: https://github.com/bfollington/roam-7guis
- Owner: bfollington
- License: epl-1.0
- Created: 2020-11-30T06:09:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-07T09:32:47.000Z (over 4 years ago)
- Last Synced: 2025-02-07T20:30:51.998Z (4 months ago)
- Topics: 7guis, cljs, clojure, clojurescript
- Language: Clojure
- Homepage: https://roam-7guis.herokuapp.com/
- Size: 150 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# roam-7guis
An implementation of [7guis](https://eugenkiss.github.io/7guis/tasks/) in ClojureScript.
Live demo at: https://roam-7guis.herokuapp.com/
## Development mode
To start the Figwheel compiler, navigate to the project folder and run the following command in the terminal:
```
lein figwheel
```Figwheel will automatically push cljs changes to the browser. The server will be available at [http://localhost:3449](http://localhost:3449) once Figwheel starts up. To view your devcards, type `(switch-to-build devcards)` at the Figwheel REPL and navigate to [http://localhost:3449/cards](http://localhost:3449/cards).
Figwheel also starts `nREPL` using the value of the `:nrepl-port` in the `:figwheel`
config found in `project.clj`. By default the port is set to `7002`.The figwheel server can have unexpected behaviors in some situations such as when using
websockets. In this case it's recommended to run a standalone instance of a web server as follows:```
lein do clean, run
```The application will now be available at [http://localhost:3000](http://localhost:3000).
### Optional development tools
Start the browser REPL:
```
$ lein repl
```
The Jetty server can be started by running:```clojure
(start-server)
```
and stopped by running:
```clojure
(stop-server)
```## Building for release
```
lein do clean, uberjar
```## Deploying to Heroku
Make sure you have [Git](http://git-scm.com/downloads) and [Heroku toolbelt](https://toolbelt.heroku.com/) installed, then simply follow the steps below.
Optionally, test that your application runs locally with foreman by running.
```
foreman start
```Now, you can initialize your git repo and commit your application.
```
git init
git add .
git commit -m "init"
```
create your app on Heroku```
heroku create
```optionally, create a database for the application
```
heroku addons:add heroku-postgresql
```The connection settings can be found at your [Heroku dashboard](https://dashboard.heroku.com/apps/) under the add-ons for the app.
deploy the application
```
git push heroku master
```Your application should now be deployed to Heroku!
For further instructions see the [official documentation](https://devcenter.heroku.com/articles/clojure).