launch.turing.edu website
This site is built with Jekyll. Find the docs here
The production branch for this repo is gh-pages
. Branches that you create need to be merged into gh-pages
.
- Set Up WSL
- In PowerShell
wsl --install
- Restart your machine
- Ubuntu will startup on restart; create your username and password
- In PowerShell
- From here, all commands are run in Ubuntu terminal.
- Install Ruby
sudo apt-get update
sudo apt-get install ruby-full
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
- Install Ubuntu Dev Tools
sudo apt-get install ubuntu-dev-tools
- Configure git SSH key
- I think because I was on windows, I had to start the ssh-agent using
eval 'ssh-agent -s'
before runningssh-add ~/.ssh/id_rsa.pub
- I think because I was on windows, I had to start the ssh-agent using
- Set Up Jekyll
gem install jekyll bundler
- Clone and Set Up Local Repo
- Clone the repo:
git clone [email protected]:turingschool/launch-curriculum.git
- Open the repository:
cd launch-curriculum
- Bundle your gems:
bundle install
- To start the server:
bundle exec jekyll serve
- Navigate to
http://localhost:4000
to see the site.
- Clone the repo:
- Clone the repo
git clone [email protected]:turingschool/launch-curriculum.git
- Install ruby, and run
bundle install
- NOTE: you may need to first install eventmachine setting the
openssl-dir
:
gem install eventmachine -- --with-openssl-dir=/usr/local/opt/[email protected]
- You can now begin to edit the website.
- To start the server run
bundle exec jekyll serve
. - Navigate to
http://localhost:4000
to see the site - Make changes on the
gh-pages
branch. - You can push changes to production by pushing the
gh-pages
branch to github.git push origin gh-pages
. - The changes may take a minute or two to be recognized on production. Please make sure you review your changes on production.
You can include 'hidden' instructor notes in your lessons by using the following syntax:
<aside class="instructor-notes" markdown="1">
<p><strong>Instructor Note</strong><br>Your Note.</p>
</aside>
These notes are available by calling showInstructorNotes()
in console.
You can add styled boxes to your lesson plans for different areas of content.
<section class="call-to-action" markdown="1">
### In Your Notebook
What would you expect to be logged when we get to line 10? Why?
</section>
Will result in the following styled box:
The heading in the answer box must be an h3. You can include any text within the section after that
<section class="answer" markdown="1">
### The Answer
Here is an answer to the On Your Own section...
</section>
Will result in the following styled box:
<section class="note" markdown="1">
### Note
This hoisting behavior adds some complexity to the JavaScript language, and is important to understand thoroughly in order to anticipate the values of your variables at any given time.
</section>
<section class="checks-for-understanding" markdown="1">
### Exit Ticket
What are 3 easy and actionable accessibility steps you can take in all of your projects from here on out?
</section>
DO NOT INDENT YOUR MARKDOWN within the section tag, or else it will not work.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.