:
>
> 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 >
> wrote:
> > The first lines of the trace says:
> >
> > Failure to execute query with SQL:
> &g
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?
>
>
#x27;t you just print that page to a PDF file, no?
>
> On 29 December 2013 11:42, Zeynel >
> 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:
> >>
> &
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
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:
>
>
> http://www.creativeappl
rectory and everything in it.
>
> - James
>
>
> On 28 December 2013 19:18, Ahmet Zeynel 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
>>
gt; 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 wrote:
>
>> I tried it like this and it seems to work:
>>
>&g
a look inside.
>
> - James
>
>
> On 28 December 2013 17:24, Zeynel 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
>
rotation, 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 > wrote:
>
>> I tried
: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
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
> illustrates exactly 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'v
ava -jar .jar
>
>
> The jar file I place in "/deploy", a directory I've added in at the top
> level.
>
> If all goes according to plan, then I can reload nginx and start my server:
>
> reload nginx
>
> start
>
>
> Hope that helps.
>
> -
ot;/deploy" directory?
>
> - James
>
>
> On 28 December 2013 01:33, Ahmet Zeynel >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, Jame
you have a "deploy" user and a "/deploy" directory?
>
> - James
>
>
> On 28 December 2013 01:33, Ahmet Zeynel >wrote:
>
>> I just tried it but I got the same error. Do I need to add exec or script
>> in the conf file? Thanks.
>>
>&g
a "deploy" user and a "/deploy" directory?
>
> - James
>
>
> On 28 December 2013 01:33, Ahmet Zeynel wrote:
>
>> I just tried it but I got the same error. Do I need to add exec or script
>> in the conf file? Thanks.
>>
>>
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 wrote:
> Perhaps try nomilkforme.conf instead of nomilkfor.me.conf ?
>
> - James
>
>
> On 28 December 2013 00:27, Zeynel wro
buntu 13.10 on Samsung laptop"
author "zeynel"
start on startup
stop on shutdown
setuid deploy
chdir /deploy
console log
env PORT=40
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,
>
>
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
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
#x27;t need any of
> the extra features provided 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.
n uberjar), then set
> up to run via an init script (via upstart in your case) 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 ubun
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-to-serve-clojure
3:53 PM UTC-4, Bruce 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 thr
derstand 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\shoute
ent 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-web-application. I am
> getting the following error when I try to creat
port' 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
> d
wrong?
c:\>cd users/a/clojure/shouter
c:\Users\a\CLOJURE\shouter>createdb 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://devcen
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 :testi
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.
O
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. Th
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 C
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.
https://groups.google.com/forum/#!topic/light-ta
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. B
> recommended)
> 2) create your work 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
>
>
>
--
--
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
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 abou
On Feb 18, 6:45 pm, Brian Wolf 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 email to clojure
On Feb 18, 11:32 pm, Sean Devlin 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 process of clojure on win
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 clojure@googlegrou
41 matches
Mail list logo