This is a repo dedicated to the iOS codebar Workshop. These materials can be used during a normal codebar workshop as long as a coach is there with the skill set.
These tutorials are hosted at https://codebar.github.io/ios-tutorials/
We are now using docusaurus to build our tutorials. You will need npm installed on your computer to get started.
- Fork this repo.
- Using a terminal, navigate into
src/website
. - Run
npm i
to install all dependencies. - Run
npm run start
to run the website locally.
- Create the page in the
docs
folder (make sure it follows the same structure as the others). - Any images you need can be placed in the folder
docs/assets
. - Make sure you link to it in the
website/sidebars.json
properly. - To test the sidebars, you need to stop running it locally, then run it again.
- If required, add a section in
website/pages/index.js
so everyone knows it exists!
We're using GitHub pages to host the contents of the docs
folder in root. Unfortunately this is a little bit of a manual process at the moment but you need to:
- Navigate to
src/website
. - Run
npm run build
. - Copy the
ios-tutorials
folder into the root of this directory. - Delete the
docs
folder (it's okay, we're going to fix this in a second). - Rename
ios-tutorials
todocs
.