@datacamp/mobile-teach

This executable will help you build courses for DataCamp for Mobile.

Usage no npm install needed!

<script type="module">
  import datacampMobileTeach from 'https://cdn.skypack.dev/@datacamp/mobile-teach';
</script>

README

DataCamp for Mobile for Teachers

This executable will help you build courses for DataCamp for Mobile.

Installing

You can install this executable by running the command npm install -g @datacamp/mobile-teach

Using

Help

The executable has some help build in. To check it run mobile-teach help or mobile-teach help [command], e.g. mobile-teach help preview.

Preview

Run mobile-teach preview [path-to-lesson] to preview a lesson. E.g. mobile-teach preview ./chapter1/lesson1.yml. Then visit http://localhost:8080 in your browser.

Check

Run mobile-teach check somewhere in the course directory to check if the content is following the guidelines.

Version

  • To check the version of the executable, run mobile-teach version.
  • To update the executable, run npm update -g @datacamp/mobile-teach.
  • To check if you have the latest version of the executable, run npm outdated -g @datacamp/mobile-teach (if nothing appears and the command just exits, you have the latest version).