Build and deploy your first app in minutes

Three steps to install our CLI, SDK, create and deploy your first app

Step 1 - Install Enonic CLI

Open Terminal app and run the following command:

brew tap enonic/cli
brew install enonic

Not yet familiar with the MacOS package manager Homebrew?
Get it from https://brew.sh

...or manually download the CLI executable for MacOS

Open Powershell and run the following command:

scoop bucket add enonic https://github.com/enonic/cli-scoop
scoop install enonic

Not yet familiar with Scoop, the command line installer for Windows?
Get it from https://scoop.sh/

...or manually download the CLI executable for Windows

STEP 2 - CREATE PROJECT

Create a project - use "Vanilla starter" for a clean project, or go with something else:

enonic project create

Use the default options, or specify your own.

NB! Accept setting up an XP sandbox when asked

STEP 3 - Build and deploy

Go to the newly created project folder, build and deploy the application:

cd mytest
enonic project deploy

NB! When the XP sandbox has started, go to:
http://localhost:8080

Wrapping up...

You just installed our SDK, built and deployed your first project. Sweet!

To finish the setup, complete the following tasks:

1. login

Create administrator user now, or do it later

Screenshot of the initial XP login - with ability to skip creation of user

2. TOUR

Install useful apps at the end of the tour

Image showing the last step of XP tour - Install apps

3. APP

Open "Applications" tool to see your app

Screenshot of the main menu for Enonic XP

Now what?

Starter docs

Depending on the project template (aka starter) you selected in step 2, check out it's documentation to learn more.

Reference documentation

Then, you might benefit from looking into the docs listed below:
For more insight and discovering hidden gems, visit the documentation section.

Hands on guides

To get the "real stuff" done, our practical guides is the way to go, a selection is listed below.
For more, visit the guides section.

Enonic Market

Simply the best place to discover apps, libraries and starters for Enonic XP:

https://market.enonic.com

Community

Get help and share your knowledge through our various community channels

Forum

The best place to get an answer: https://discuss.enonic.com

Slack

Stay up2date and chat with other XPeers: https://slack.enonic.com

Github

We're all about open source, get inolved on https://github.com/enonic

 

professional support or services

Using Enonic in mission critical deployments?
We make a living from professional training, cloud hosting, software support and specialist consulting.

get in touch, or find out more:

https://enonic.com