jonlepage / web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

APHGames Web

NI-APH

  • πŸŽ“ intended mainly for education at FIT CTU
  • πŸ“¦ built on top of docusaurus library
  • πŸ”₯ slides and examples are built by using parcelJS pipeline

Project Structure

project
β”‚
└───examples                // coding examples
β”‚   β”‚   assets              // assets that are copied into build folder
β”‚   β”‚   libs                // libraries for examples and demo projects
β”‚   β”‚   src                 // source files
β”‚   β”‚   view                // PUG templates that are bundled by Parcel
β”‚   
└───scripts                 // scripts for pre-build, post-build, deployment etc.
β”‚
└───slides                  // RevealJS-powered slides
β”‚   β”‚   assets              // assets (images, svg files, code snippets)
β”‚   β”‚   backgrounds         // background files for presentations
β”‚   β”‚   plugins             // RevealJS plugins
β”‚   β”‚   themes              // RevealJS themes (including APH theme for slides)
β”‚   β”‚   view                // PUG templates with all texts and declarations
β”‚
└───wiki                    // docusaurus-powered wiki
β”‚   β”‚   blog                // place for a blog... not used right now
β”‚   β”‚   docs                // markdown documents with instructions, tutorials, guides etc.
β”‚   β”‚   plugins             // some plugins
β”‚   β”‚   src                 // React sources with custom components and themes
β”‚   β”‚   static              // static files (slides and examples are copied into this folder) 
β”‚   β”‚   types               // additional Typescript declarations
β”‚
β”‚   CHANGELOG.md            // changelog
β”‚   package.json            // npm scripts and dependencies
β”‚   README.md               // README file
β”‚   tsconfig.json           // typescript config (only for pre-build)
β”‚   tslint.json             // typescript linter settings for static checking

How to build this project

  • clone it
  • install nodeJS, LTS version if possible
  • execute npm install
  • if you want to build the examples, run npm run dev-examples and navigate to localhost:1234/index.html
  • if you want to build the slides, run npm run dev-slides and navigate to localhost:1234/index.html
  • if you want to build the wiki:
    • go to wiki folder
    • execute npm install
    • execute npm start and navigate to localhost:3000
  • if you want to build everything
    • execute npm run deploy-all from the root folder. Everything gets bundled into build_wiki

Changelog is available here

Deployment

About

License:MIT License


Languages

Language:Pug 70.4%Language:SCSS 13.0%Language:JavaScript 5.3%Language:HTML 4.7%Language:TypeScript 3.8%Language:C++ 1.7%Language:C# 0.4%Language:TeX 0.4%Language:Assembly 0.2%Language:Java 0.1%Language:CSS 0.1%