Starting An Interactive Page
Once you have everything set up with at least one template registered, you can get started.
In your terminal, make a new folder and enter it:
1
$ mkdir MY_PROJECT_NAME
2
$ cd MY_PROJECT_NAME
Copied!
Then run PIT's new project command:
1
$ pit new
Copied!
Here you'll see three different ways of finding your registered templates. For simplicity, select Show me all my templates and then select Interactive Story (if you don't see it make sure you've completed the Set Up Guide.) Give the project a name, and you should then see some files in your folder.
With most templates (including this one) you'll have to install dependencies by running:
1
$ yarn
Copied!
Then you can open up your new codebase in atom:
1
$ atom .
Copied!
And you can start your development server by running:
1
$ yarn start
Copied!
Last modified 2yr ago
Copy link