Re: [ANN] Intro tutorial

2013-12-29 Thread Zeynel
I like it very much. Is there a pdf version? On Saturday, December 28, 2013 6:30:17 PM UTC-4, Karsten Schmidt wrote: Dear all, just wanted to briefly announce a new Clojure introduction tutorial series with its first part (15k+ words) just been published:

How to debug this trace involving Korma

2013-12-29 Thread Zeynel
The first lines of the trace says: Failure to execute query with SQL: SELECT GUESTBOOK .* FROM GUESTBOOK :: [] JdbcSQLException: Message: Table GUESTBOOK not found; SQL statement SELECT GUESTBOOK.* FROM GUESTBOOK ... I see that there is a create-guestbook-table in schema.clj (defn

Re: [ANN] Intro tutorial

2013-12-29 Thread Zeynel
that page to a PDF file, no? On 29 December 2013 11:42, Zeynel azey...@gmail.com javascript: wrote: I like it very much. Is there a pdf version? On Saturday, December 28, 2013 6:30:17 PM UTC-4, Karsten Schmidt wrote: Dear all, just wanted to briefly announce a new Clojure

Re: What non-deprecated Clojure Web libraries to use?

2013-12-29 Thread Zeynel
I know this an old thread but here the author says that he deprecated Enclojure https://groups.google.com/d/msg/enclojure/TNngOAAoIyE/9cKOk_zEquEJ Is this still true? On Sunday, October 27, 2013 7:51:39 PM UTC-3, James Reeves wrote: Compojure isn't deprecated. What made you think it was? -

Re: How to debug this trace involving Korma

2013-12-29 Thread Zeynel
: Reading that tutorial, it looks like it expects you to call (create-tables) manually via the REPL. On Sun, Dec 29, 2013 at 3:47 AM, Zeynel azey...@gmail.com javascript: wrote: The first lines of the trace says: Failure to execute query with SQL: SELECT GUESTBOOK .* FROM GUESTBOOK

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Zeynel
? - James On 28 December 2013 01:33, Ahmet Zeynel azey...@gmail.com javascript:wrote: I just tried it but I got the same error. Do I need to add exec or script in the conf file? Thanks. On Fri, Dec 27, 2013 at 9:20 PM, James Reeves ja...@booleanknot.comjavascript: wrote: Perhaps

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Zeynel
2013 01:33, Ahmet Zeynel azey...@gmail.com javascript:wrote: I just tried it but I got the same error. Do I need to add exec or script in the conf file? Thanks. On Fri, Dec 27, 2013 at 9:20 PM, James Reeves ja...@booleanknot.comjavascript: wrote: Perhaps try nomilkforme.conf instead

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Zeynel
to plan, then I can reload nginx and start my server: reload nginx start app-name Hope that helps. - James On 25 December 2013 11:42, Zeynel azey...@gmail.com javascript: wrote: Ok, I worked through the tutorial referenced http://clojure-doc.org/articles/tutorials

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Zeynel
what you are asking for: deploying a Clojure web app behind nginx, with some monitoring, server-hardening, etc.. It's at: https://thedevop.com A On Tuesday, December 17, 2013 4:44:34 AM UTC-8, Zeynel wrote: I've set up a home server with ubuntu and nginx and I can serve static pages

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Zeynel
Ok, I am having problems starting nginx with upstart as mentioned by James Reeves. Would starting with tmux work as well. Can you give more info? On Wednesday, December 18, 2013 6:40:51 PM UTC-4, Curtis Gagliardi wrote: I don't know how to configure an init script, but I just run the command

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Zeynel
:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4000 What's wrong with deploying it like this? On Saturday, December 28, 2013 10:53:29 AM UTC-4, Zeynel wrote: Can I deploy this as explained here http://www.luminusweb.net/docs/deployment.md#running_standalone with java -jar myapp-0.1.0-SNAPSHOT

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Zeynel
, and starting on server boot. Have you checked the logs in /var/log/upstart/nomilkforme.log? Perhaps it's got something to do with the permissions of the deploy directory. - James On 28 December 2013 17:08, Zeynel azey...@gmail.com javascript: wrote: I tried it like this and it seems to work: z

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Ahmet Zeynel
zcat to take a look inside. - James On 28 December 2013 17:24, Zeynel azeyn...@gmail.com wrote: Yes, but I don't see nomilkforme.log file. There are only .gz files: z@ubuntu:/var/log/upstart$ ls console-setup.log.1.gz container-detect.log.1.gz module-init-tools.log.1.gz networking.log.1

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Ahmet Zeynel
. Have you checked the logs in /var/log/upstart/nomilkforme.log? Perhaps it's got something to do with the permissions of the deploy directory. - James On 28 December 2013 17:08, Zeynel azeyn...@gmail.com wrote: I tried it like this and it seems to work: z@ubuntu:/etc/nginx/sites-available

Re: How do I serve clojure pages with nginx

2013-12-28 Thread Ahmet Zeynel
in it. - James On 28 December 2013 19:18, Ahmet Zeynel azeyn...@gmail.com wrote: Earlier I changed the permissions in /deploy but now I put it back to root and now I have: z@ubuntu:/deploy$ ll total 8164 drwxr-xr-x 2 root root4096 Dec 27 08:20 ./ drwxr-xr-x 24 root root4096 Dec 27

Re: How do I serve clojure pages with nginx

2013-12-27 Thread Zeynel
ubuntu 13.10 on Samsung laptop author zeynel start on startup stop on shutdown setuid deploy chdir /deploy console log env PORT=4000 exec java -jar

Re: How do I serve clojure pages with nginx

2013-12-27 Thread Ahmet Zeynel
I just tried it but I got the same error. Do I need to add exec or script in the conf file? Thanks. On Fri, Dec 27, 2013 at 9:20 PM, James Reeves ja...@booleanknot.com wrote: Perhaps try nomilkforme.conf instead of nomilkfor.me.conf ? - James On 28 December 2013 00:27, Zeynel azeyn

Re: How do I serve clojure pages with nginx

2013-12-27 Thread Ahmet Zeynel
directory? - James On 28 December 2013 01:33, Ahmet Zeynel azeyn...@gmail.com wrote: I just tried it but I got the same error. Do I need to add exec or script in the conf file? Thanks. On Fri, Dec 27, 2013 at 9:20 PM, James Reeves ja...@booleanknot.comwrote: Perhaps try nomilkforme.conf

Re: How do I serve clojure pages with nginx

2013-12-25 Thread Zeynel
to use nginx as proxy to jetty (or immutant?). I am trying to figure out the correct configuration for jetty and nginx. Each tutorial appears to be different and so far I couldn't make it work. On Friday, December 20, 2013 9:39:07 AM UTC-4, David Della Costa wrote: Hi Zeynel, I don't know

Re: How do I serve clojure pages with nginx

2013-12-18 Thread Zeynel
On Tuesday, December 17, 2013 9:02:19 AM UTC-4, David Della Costa wrote: ...I would probably simply push out an uberjar with lein which I would run with Java via an init script--for example, if using Ubuntu: http://upstart.ubuntu.com/cookbook/#run-a-java-application I want to try

Re: How do I serve clojure pages with nginx

2013-12-18 Thread Zeynel
), Zeynel wrote: I've set up a home server with ubuntu and nginx and I can serve static pages. Now I want to add clojure but I am not sure what I need to do. I asked the same question in StackOverflow but for some reason it is voted to be closed: http://stackoverflow.com/questions/20632987

How do I serve clojure pages with nginx

2013-12-17 Thread Zeynel
I've set up a home server with ubuntu and nginx and I can serve static pages. Now I want to add clojure but I am not sure what I need to do. I asked the same question in StackOverflow but for some reason it is voted to be closed:

Re: How do I serve clojure pages with nginx

2013-12-17 Thread Zeynel
) on an alternative port, which is proxied by Nginx as in the link above. Hope this helps-- DD (2013/12/17 21:44), Zeynel wrote: I've set up a home server with ubuntu and nginx and I can serve static pages. Now I want to add clojure but I am not sure what I need to do. I asked the same

Re: How do I serve clojure pages with nginx

2013-12-17 Thread Zeynel
by Immutant, then using Immutant won't give you much more than Jetty. Zeynel writes: Yes, this is helpful. I think this will be a good starting point for me once I read the references that you gave. I also heard about Immutant and I'm investigating it but do you think it may be helpful? I

Re: Trying to use Heroku and Postgresql

2013-10-06 Thread Zeynel
Adams wrote: (System/getenv DATABASE_URL) is returning *nil*. This will happen when the system environment variable DATABASE_URL is not defined. - Bruce On Sat, Oct 5, 2013, at 04:54 PM, Zeynel wrote: I am going through this Heroku tutorial https://devcenter.heroku.com/articles/clojure

Trying to use Heroku and Postgresql

2013-10-05 Thread Zeynel
I am going through this Heroku tutorial https://devcenter.heroku.com/articles/clojure-web-application. I am getting the following error when I try to create a table in the local Postgresql database user=(sql/with-connection (System/getenv DATABASE_URL) (sql/create-table :testing

Re: Trying to use Heroku and Postgresql

2013-10-05 Thread Zeynel
users/a/clojure/shouter c:\Users\a\CLOJURE\shoutercreatedb shouter createdb: database creation failed: ERROR: database shouter On Saturday, October 5, 2013 4:54:09 PM UTC-4, Zeynel wrote: I am going through this Heroku tutorial https://devcenter.heroku.com/articles/clojure-web-application

Re: Trying to use Heroku and Postgresql

2013-10-05 Thread Zeynel
' is not recognized as an internal or external command, operable program or batch file. Why is this not recognizing export? On Saturday, October 5, 2013 7:26:18 PM UTC-4, Zeynel wrote: I figured that I need to keep the command window where I initialized the database open. What I thought was hung

Re: Trying to use Heroku and Postgresql

2013-10-05 Thread Zeynel
. - Bruce On Sat, Oct 5, 2013, at 04:54 PM, Zeynel wrote: I am going through this Heroku tutorial https://devcenter.heroku.com/articles/clojure-web-application. I am getting the following error when I try to create a table in the local Postgresql database user=(sql

Re: Trying to use Heroku and Postgresql

2013-10-05 Thread Zeynel
what's going on. On Saturday, October 5, 2013 8:18:58 PM UTC-4, Zeynel wrote: Thanks. I found this article https://devcenter.heroku.com/articles/connecting-to-relational-databases-on-heroku-with-java and I tried c:\Users\a\CLOJURE\shouter\srcheroku config !No app specified

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-02 Thread Zeynel
Ok. I created a project and there is core.clj file and I also ran the failing tests included in the project file. One thing I noticed the installer didn't do is that it did not put a shortcut to closure REPL on the start menu. I am just starting the windows command line from the start menu.

Problems starting with Clojure and Leiningen and Light Table

2013-10-01 Thread Zeynel
I was hoping that someone here can help me to start with Clojure. Nothing seems to be working now. This is the thread with question about Light Table https://groups.google.com/forum/#!topic/light-table-discussion/Nif7b82DrzY. Light Table cannot connect to the project. This is the question

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-01 Thread Zeynel
) at clojure.lang.Var.applyTo(Var.java:532) at clojure.main.main(main.java:37) C:\Users\a\work On Tuesday, October 1, 2013 6:45:16 AM UTC-4, Shantanu Kumar wrote: Hi Zeynel, I suspect you are fighting too many challenges at once. I would suggest that you get Leiningen working first, then try a simple

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-01 Thread Zeynel
account in your user directory (e.g. C:\Users\Zeynel\work) To add lein to your PATH, follow these steps: http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx -- -- You received this message because you are subscribed to the Google Groups Clojure

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-01 Thread Zeynel
Thanks. I am glad to hear that Light Table and Lein are working on Windows 8. I am using a wrapper to have the start button, but I did not have any problems related to that so far. I checked curl's site but I wasn't sure why I need it. I installed Lein using Windows installer and that worked.

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-01 Thread Zeynel
I understand this, and I want to continue with Light Table, I liked it too. And the error pasted above is the same error that Light Table gives. I asked the same question in Light Table forum but there were no answers yet about the error message.

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-01 Thread Zeynel
There is an explanation of the error message here http://dev.clojure.org/jira/browse/CLJ-5 but I did not understand if there is a fix or what causes the error. On Tuesday, October 1, 2013 6:26:07 AM UTC-4, Zeynel wrote: I was hoping that someone here can help me to start with Clojure. Nothing

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-01 Thread Zeynel
Thanks everyone. I reinstalled Lein this time without using the window installer and it is now working. Thanks, again. On Tuesday, October 1, 2013 6:26:07 AM UTC-4, Zeynel wrote: I was hoping that someone here can help me to start with Clojure. Nothing seems to be working now

Re: Clojure box

2010-02-20 Thread Zeynel
On Feb 18, 11:32 pm, Sean Devlin francoisdev...@gmail.com wrote: Do you need to do a lot of Java work as well?  If so, take a look at Enclojure (Netbeans) or Counter Clockwise (Eclipse). No. I just want to install Clojure and start with some tutorials. I was wondering about the installation

Re: Clojure box

2010-02-20 Thread Zeynel
On Feb 18, 6:45 pm, Brian Wolf brw...@gmail.com wrote: I use it all the time.  And its a gentle introduction to emacs Ok. So Clojure box installs the clojures on windows? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Clojure box

2010-02-18 Thread Zeynel
Hello, I am totally new to Clojure. Do you recommend using Clojure Box for windows installation? I am not an expert user or programmer. Thank you. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to