-
Notifications
You must be signed in to change notification settings - Fork 51
Getting Started
James Reeves edited this page May 7, 2015
·
13 revisions
Thanks to the magic of Leiningen templates, generating a new Duct project is as easy as typing:
lein new duct hello +site +example
This will create a directory called hello
containing the new project.
The +site
and +example
arguments are profile hints. These add extra functionality to the base Duct template. In this case, we're adding functionality to build a website (+site
), and adding an example endpoint (+example
).
Next, change directory into the new project:
cd hello
Once inside the project, you can optionally run:
lein setup
This will generate files for local configuration. These files allow you to customize your development environment without using files in version control.