Setup

This section describes how to install Allotize and crate a new app.

Install using create-allotize-app

Allotize is published to npm, along with a utility tool to quickly start a new Allotize app called create-allotize-app. If you don't already have npm installed, you can find instructions on how to install it here.

To create your project, run this command:

npm init allotize-app my-allotize-app

This will download a project template running Allotize and React. If everything went as expected, you should receive a message:

Thank you for downloading the Allotize template

Proceed by navigating to your newly created project and install the dependencies:

cd my-allotize-app
npm install

Once installed, you can start the development server via:

npm run start

Go ahead and visit localhost:8080 to make sure everything is running smoothly.

✨ Great job at creating your first Allotize app! In the next section, we will be looking at how to create a new component using Allotize.