Step 1: Install itsa-cli
First, you need to install itsa-cli
on your system globally. With this cli, you can create new applications:
npm install -g itsa-cli
Step 2: Create a new web-application
Create a new web-application anywhere on your local system. From the console, type:
itsa create appname
appname will become a new folder with the appropriate files.
Step 3: Check if everything is working
Because the installation comes with a default skelleton, you can check if the Hello World!
app is working.
npm run watch
As soon as the message Server running development at port: 3001 appears, you can open a browser and visit http://localhost:3001. The Hello World!
app should come up.
Now, you can start right away building your application. But before you do, you might want to finetune the webapp’s configuration-file.
Created folder structure
The folder structure of your application will have the next skelleton: