Skip to main content

Initialize a site project

How to initialize a site from scratch

eWizard Team avatar
Written by eWizard Team
Updated over 2 years ago

Use eWizard CLI to create a site project from a scaffolding template.

1) Log in to your eWizard instance by following the instructions in the Login section.

2) Go to a directory where you want to initialize your site project.

For example, create the my-site directory and then:

cd my-site

3) Initialize your project.

wiz init

4) Select the site template, which is option number 8.


TIP: To skip the template selection step, you can initialize the site template with
​ wiz init site. For more options, see eWizard CLI commands.


5) Select if you want to use ESLint.

6) Enter the project description, name, and author.


TIP: You can just press Enter to select the default values.


The site project is initialized with the default template.

7) Build your site project and serve it on a local server as a static site.

wiz dev --live

eWizard CLI starts a hot-reloading development server at http://localhost:3000/


TIP: The --live option tracks the changes and continuously builds the site project.

See eWizard CLI commands for a complete list of commands with options.


Did this answer your question?