poorsmatic icon indicating copy to clipboard operation
poorsmatic copied to clipboard

trying to deploy...

Open jonlorusso opened this issue 12 years ago • 2 comments

go easy on me, i'm don't really have any idea what i'm doing. I'm trying to deploy poorsmatic to a running immutant:

lein with-profile prod immutant deploy

i've already started datomic with:

./bin/transactor config/samples/free-transactor-template.properties

Instead of

"datomic:free://localhost:4334/poorsmatic" 

I see:

[immutant.repl] (MSC service thread 1-9) Starting swank for poorsmatic at 127.0.0.1:4005

jonlorusso avatar Dec 01 '12 01:12 jonlorusso

@jonlorusso - lein with-profile prod ... uses the prod profile for that invocation of lein. In order to tell Immutant to apply the profile at runtime, you'll need to deploy with lein immutant deploy -p prod. Give that a try and let us know if it works for you.

tobias avatar Dec 01 '12 03:12 tobias

That did the trick. Thanks Tobias.

jonlorusso avatar Dec 02 '12 01:12 jonlorusso