Help with AWS IoT Sample

#1

Hi,

I am new to Ionic and was following the Tutorial posted on your blog:
http://blog.ionic.io/ionic-apps-with-aws-mobile-app-backend/

I got to the part where I import the template by running the command: ionic start git2it blank

And then replace the www directory with the contents of this zip file: https://s3.amazonaws.com/solutions-reference/mobile-backend/git2it_sample_app.zip

I followed that step and when running ionic serve I am presented with the default Ionic Blank template:

Does anyone knows what could be missing/incorrect from the template files? I am new to Ionic and couldn’t identify it.

Thanks in advance!

#2

Looking at the PDF I think the command in there is outdated. This is creating and assuming a Ionic v1 project, the current CLI by default creates a v2+ project. You will need to add --type=ionic1 to the start command to get the right type of project for this to work.

#3

It worked!!

Thanks a lot!

1 Like