Socket
Socket
Sign inDemoInstall

@datacamp/mobile-teach

Package Overview
Dependencies
24
Maintainers
79
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @datacamp/mobile-teach

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


Version published
Weekly downloads
7
decreased by-50%
Maintainers
79
Created
Weekly downloads
 

Readme

Source

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).

Flashcards

  • When making changes to flashcards, make sure to use yarn install --force to force re-download of all packages. This makes sure that the changes made in the /frontend part of the repo are also present in the /teach part. Do this every time you change something in the /frontend part of the repo that has to be reflected in here.
  • To try out changes to flashcards locally, cd to /teach and use the yarn link command, then cd to /backend and use the yarn link @datacamp/mobile-teach command. Now the backend will use your local bundle.
  • To "deploy" flashcards, first use yarn publish, then bump the version of @datacamp/mobile-teach in /backend/package.json, and deploy the backend the usual way

FAQs

Last updated on 20 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc