Skip to content

Ditectrev/Automation-Tools-for-Courses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation Tools for Courses

Usage

Run them using python3 sample_tool.py. Of course, you need a Python (3). The imported libraries to these scripts will be need to be installed using pip3 install <package_name>.

Maintained scripts:

  • web-scrap-*.py;
  • readme-*.py;

Course Publication Process

  1. Scrap questions from exam4training.com using web-scrap-exam4training.py.
  2. Format questions to our GitHub format.
  3. Scrap questions from vceguide.com, using web-scrap-vce.py, add only non-repeated to questions.
  4. Format questions to our GitHub format.
  5. Add manually questions from exam-answer.com, add only non-repeated to questions keeping our GitHub format.
  6. Manually check for questions on examtopics.com until middle of the exam, i.e., when there's a paywall, add only non-repeated to questions.
  7. Manually copy/paste each question to Google and look for community discussions on examtopics.com, fix correct answer.
  8. Generate Table of Contents automatically using DocToc.
  9. Number Table of Contents using Regex Text Generator as explained in search and replace with regex to increment numbers in Visual Studio Code, the only 1 difference is our generator expression is {{=i+1}} instead of {{=N[1]+1}}.
  10. Scale up image logo for promotional image above 1102x1102 using Bigjpg.
  11. Scale down image logo for promotional image to 1102x1102 and replace logo layer in a GIMP files (locally stored) for ebooks/courses, use such promotional image.
  12. Remove typos using Amazon Kindle Direct Publishing automatic proofreading software.
  13. Publish on GitHub with the generated Table of Contents.
  14. Release course on GitHub.
  15. Add repo URL to the released course on GitHub to our platform's repo exams.json file.
  16. Course will be automatically build, deployed & published on our platform.
  17. Prepare Udemy format using readme-udemy.py. Images needs to be uploaded manually, and some minor bugs required to be solved manually almost always occur during the process.
  18. Publish the course on Udemy.
  19. Generate .pdf format using Visual Studio Code's extension Markdown PDF, only # COURSE TITLE, promotional image & content from below ## Table of Contents stays. Everything else must be removed before generating a .pdf. After that, the document is ready to generation the .pdf with questions to answers. For books, remove also the line, which creates contents of links at the end of the document, i.e., [^X]:[CodeSandbox: ...] (see yzane/vscode-markdown-pdf#351 & yzane/vscode-markdown-pdf#181).
  20. Generate .pdf without answers by simply replacing - [x] to - [ ].
  21. Prepare to generate for .epub format by: 1. Change link **[⬆ Back to Top](#table-of-contents)** to the first question. 2. Remove # COURSE TITLE and ## Table of Contents as well, leave only questions in the Markdown file. 3. Use ** for correct answers (CMD/CTRL + D on - [x], View -> Word Wrap, and incorporate these changes automatically). 4. The entire correct answer should be around **, e.g., - [x] **This is correct answer for EPUB format.**. 5. After that, the document is ready to generation the .epub with questions to answers. For books, change the line, which links to contents of links at the end of the document, i.e., [^X]CodeSandbox: ...] to [CodeSandbox: CODESANDBOX_TITLE](LINK_TO_PREVIEW) (URL link to rewrite in the browser for printed version: [LINK_TO_PREVIEW](LINK_TO_PREVIEW)), last access: DATE..
  22. Generate .epub format using Pandoc: pandoc --from gfm+task_lists --to epub3 README.md --output AB123_v1.2.3.epub --epub-cover-image=images/ebook.jpg --metadata title="⬆️ Abcda Befghi AB-123 (Abcda Befghi Something) Practice Tests Exams Questions & Answers" --metadata author="Daniel Danielecki" --toc --number-sections --shift-heading-level-by=-2.
  23. Generate .epub without answers by simply replacing - [x] to - [ ], and - [x] **This is correct answer for EPUB format.** with - [ ] This is correct answer for EPUB format..
  24. Publish the ebooks in .epub/.pdf formats to Etsy, Google Play Books, our Shop.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published