{"componentChunkName":"component---node-modules-gatsby-theme-dox-src-templates-doc-js","path":"/how-to-publish","result":{"data":{"doc":{"id":"a0cd63ab-d1b1-59a6-b1ce-1d59daf3b7e3","slug":"/how-to-publish","title":"","description":null,"excerpt":"Creating and Editing Exercises Once all the steps above have been completed, you will have a folder called \n \"exercises\"  . Inside of the…","body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h3\", {\n    \"id\": \"creating-and-editing-exercises\"\n  }, \"Creating and Editing Exercises\"), mdx(\"p\", null, \"Once all the steps above have been completed, you will have a folder called\\n\", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"\\\"exercises\\\"\"), \" .\"), mdx(\"p\", null, \"Inside of the \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"\\\"exercises\\\"\"), \" file, as a teacher you must create a \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"\\\"README.md\\\"\"), \" file in order to advise the student what to do for the exercise.\"), mdx(\"p\", null, \"Next, you must create an \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"\\\"app.js\\\"\"), \" folder where the student will be able to input their code to complete the exercise.\"), mdx(\"p\", null, \"Lastly, you must create a \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"\\\"test.js\\\"\"), \" file where the automatic-test to grade the exercise will be located.\"), mdx(\"h3\", {\n    \"id\": \"publishing\"\n  }, \"Publishing\"), mdx(\"p\", null, \"Once you have created all desired exercises along with the instructions and test file you can publish it for students to be able to access it and practice.\"), mdx(\"p\", null, \"In order to publish, type the following command in your computer terminal:\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-sh\"\n  }), \"$ learnpack publish\\n\")));\n}\n;\nMDXContent.isMDXComponent = true;","headings":[{"value":"Creating and Editing Exercises"},{"value":"Publishing"}]}},"pageContext":{"id":"a0cd63ab-d1b1-59a6-b1ce-1d59daf3b7e3","slug":"/how-to-publish","previous":{"id":"527cb15d-a250-5c5d-96b4-8c7da60238bb","slug":"/how-to-download"},"next":{"id":"0030e84f-7871-5a10-b814-7335fc73591b","slug":"/customization"}}},"staticQueryHashes":["3159585216","63159454"]}