luminus-framework / luminus-template

a template project for the Luminus framework
http://www.luminusweb.net/
MIT License
648 stars 146 forks source link

How to repl when the :repl-optins {:init-ns <<name>>.handler} #105

Closed RaynorZhong closed 9 years ago

RaynorZhong commented 9 years ago

last year , I used luminus-template. I started web app with (start-server) in (ns projectname.repl) when repl.but I don't know how to repl it now.

yogthos commented 9 years ago

At the moment the template defaults to using lein ring server from the terminal. I'll take a look at adding back a hook for starting the server from the REPL.

yogthos commented 9 years ago

I updated the template to provide the REPL ns found in env/dev/<project-ns>/repl.clj, the :dev profile in project.clj includes the additional source path and sets the REPL ns to <project-ns>.repl, so you should be able to start the server using (start-server) as before.

RaynorZhong commented 9 years ago

thank you!