This repository is intended to be cloned/forked in order to set up a working jsPsych experiment via GitHub pages. This makes it simple to start exploring jsPsych.
-
You will need a GitHub account in order to use the GitHub hosting feature. Register for free.
-
After you are logged into your account, click the "fork" button near the top right corner of the page. This will automaticaly copy the repository into your GitHub account. Once the copy is complete, you will be sent directly to your copy of this repository.
-
You can try the test experiment by going to http://[your GitHub username].github.io/jsPsych-quickstart/. It can take a few minutes for GitHub to create this page after you fork the repository the first time, so you may need to wait up to 10 minutes before this works.
That's all! You can edit the files in the repository and the changes will show up immediately at the above URL.
-
The repository has two branches, master and gh-pages. Both have the same content, but only changes made to the gh-pages branch will be affect the website. The gh-pages branch is marked as the default branch, so you don't need to change any settings if you are editing the page using the GitHub interface.
-
Renaming the repository will change the URL.