|
27 | 27 | This is the project used for the <a title="Mike.Works" href="https://mike.works">Mike.Works</a> <a title="Web Security for Web Developers" href="https://mike.works/course/web-security-5c876cc">Web Security for Web Developers</a> course.
|
28 | 28 | </p>
|
29 | 29 |
|
30 |
| -# Are there any documents that go along with this? |
| 30 | +## Are there any documents that go along with this? |
31 | 31 | Yes! **[Here are the slides](https://docs.mike.works/web-security-fundamentals)**, and **[here's a course outline](https://mike.works/course/web-security-5c876cc)**.
|
32 | 32 |
|
33 |
| -# What are the pieces? |
| 33 | +## What are the pieces? |
34 | 34 |
|
35 | 35 | * [node-sass-middleware](https://github.com/sass/node-sass-middleware) for Sass compilation
|
36 | 36 | * [express](http://expressjs.com/) for serving HTML and CSS (compiled from Sass)
|
37 | 37 | * [commander](https://github.com/tj/commander.js) as a foundation for a CLI to run exerises
|
38 | 38 |
|
39 |
| -# Getting Set Up |
| 39 | +## Getting Set Up |
40 | 40 |
|
41 | 41 | There are a few things you need to ensure you have installed, in order to be ready for this course.
|
42 | 42 |
|
@@ -65,16 +65,49 @@ cd websec
|
65 | 65 | npm install
|
66 | 66 | ```
|
67 | 67 |
|
| 68 | +### Troubleshooting |
68 | 69 |
|
69 |
| -# How to use it |
| 70 | +#### What if I have an older version of Node.js? |
| 71 | + |
| 72 | +You may run into problems during the workshop! An easy way to deal with this is to... |
| 73 | + |
| 74 | +* install [nvm](https://github.com/creationix/nvm) by running |
| 75 | + |
| 76 | +```sh |
| 77 | +curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash |
| 78 | +``` |
| 79 | +or Wget: |
| 80 | + |
| 81 | +```sh |
| 82 | +wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash |
| 83 | +``` |
| 84 | +* then restart your terminal |
| 85 | +* then run |
| 86 | +```sh |
| 87 | +nvm install stable |
| 88 | +nvm use stable |
| 89 | +nvm alias default stable |
| 90 | +``` |
| 91 | + |
| 92 | +#### What if I get an error like `Please install sqlite3 package manually`? |
| 93 | + |
| 94 | +If you use OS X, it can be installed with [homebew](https://brew.sh/) |
| 95 | + |
| 96 | +```sh |
| 97 | +brew install sqlite3 |
| 98 | +``` |
| 99 | + |
| 100 | +Windows and Linux users, please install the appropriate [official release](https://sqlite.org/download.html). |
| 101 | + |
| 102 | +## How to use it |
70 | 103 |
|
71 | 104 | This workshop builds on a single example project, step-by-step. You can start the project by running
|
72 | 105 |
|
73 | 106 | ```sh
|
74 | 107 | npm start
|
75 | 108 | ```
|
76 | 109 |
|
77 |
| -# License |
| 110 | +## License |
78 | 111 | While the general license for this project is the BSD 3-clause, the exercises
|
79 | 112 | themselves are proprietary and are licensed on a per-individual basis, usually
|
80 | 113 | as a result of purchasing a ticket to a public workshop, being a participant
|
|
0 commit comments