sveri / closp Goto Github PK
View Code? Open in Web Editor NEWClojure template for web development (with SPA support)
License: Eclipse Public License 1.0
Clojure template for web development (with SPA support)
License: Eclipse Public License 1.0
Make sure cljs reloading works properly in browser.
Trying to create another project. Not sure why, but i got the above after running:
lein joplin migrate sqlite-dev-env
Worked okay before.
A zero is stored in the is_active column when registering a user. This causes the user to be interpreted as active, since this zero is compared to false.
I believe SQLite has no real boolean fields.
Thanks for the effort to have such nice template!
I am playing with chestnut recently and feel the same thing.
One suggestion, maybe you could try joplin for the database migration.
It built on ragtime and provide multiple database support.
Could be cool for a better error handling than if then else.
hi, probably there is some problem on user-registration functions
http://127.0.0.1:3000/user/signup
Not Found
Maybe replace by yesql
When I try to create new project with "lein new closp projectname -n foo.bar", I am receiving this message:
Could not load template, failed with: java.lang.RuntimeException: No such var: t-cli/parse-opts, compiling:(leiningen/new/closp.clj:102:52)
Thanks
Enes
Hi,
I was trying out the steps under Usage; navigated to localhost:3449, and got a 'Page Not Found' page.
I am using windows 7 with java 8, if it matters. Thanks.
Regards
https://github.com/seancorfield/clj-new
First for generating a new template, instead of leiningen.
bootstrap, css, js, jquery
Looks useful in dev
Maybe use this insted of component. Looks nice and easy.
Currently the crudifyed routes only show "An error occured". Instead show the stacktrace or something more useful in dev mode in the UI.
This is brought in by n.u.middleware/app-handler and used in foo.bar.handler by providing extra params: :formats [:json-kw :edn :transit-json].
It will fail with this error message:
Thu Dec 17 16:14:29 CET 2015 [worker-3] ERROR - GET /stockfighter/qoutes/ws
com.fasterxml.jackson.core.JsonGenerationException: Cannot JSON encode object of class: class org.httpkit.server.AsyncChannel: /0:0:0:0:0:0:0:1:3000<->/0:0:0:0:0:0:0:1:60401
at cheshire.generate$generate$fn__4631.invoke(generate.clj:122)
at cheshire.generate$generate.invoke(generate.clj:122)
at cheshire.core$generate_string.invoke(core.clj:31)
at cheshire.core$generate_string.invoke(core.clj:19)
at ring.middleware.format_response$wrap_format_response$fn__19188.invoke(format_response.clj:184)
at noir.validation$wrap_noir_validation$fn__18692.invoke(validation.clj:155)
at noir.cookies$noir_cookies$fn__18753.invoke(cookies.clj:72)
at ring.middleware.cookies$wrap_cookies$fn__16100.invoke(cookies.clj:161)
at noir.session$noir_flash$fn__16316.invoke(session.clj:158)
at ring.middleware.flash$wrap_flash$fn__16241.invoke(flash.clj:35)
at noir.session$noir_session$fn__16302.invoke(session.clj:109)
at ring.middleware.session_timeout$wrap_idle_session_timeout$fn__16258.invoke(session_timeout.clj:25)
at ring.middleware.session$wrap_session$fn__16221.invoke(session.clj:102)
at ring.middleware.file$wrap_file$fn__18499.invoke(file.clj:44)
at org.httpkit.server.HttpHandler.run(RingHandler.java:91)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
See if we can remove that safely.
It seems there isn't anything related to Luminus in the generated project. Not a huge deal but I was confused when I went looking for it.
Of course, maybe Luminus is in the closp future and just not there yet.
I want to take a moment to thank you for this great template! While it's library choices don't match our needs (datomic vs sql) but those that do are great, thank you very much.
Running lein new closp foo-bar
will generate a folder foo-bar with some content and the rest of the content will be in foo_bar.
I've created a new closp project (without giving it a namespace via the -n option) and successfully run lein migrate
. But when I run lein figwheel
, it throws:
clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: No such var: ana/forms-seq*, compiling:(figwheel_sidecar/utils.clj:49:21)
Running lein cljsbuild once
completes successfully.
"Getting started
Open your command line and switch to a folder of your choice. Then execute the following commands:
lein new closp project-name -n foo.example
cd project-name
lein migrate "
not working.
(I use postgresql)
The default is instead SQLite.
It's working, but ugly, still needs to be fixed
Wait for cursive support: cursive-ide/cursive#1910
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.