Skip to content

Commit 1b6eafd

Browse files
committed
Merge branch 'master' of github.com:mike-north/web-security-fundamentals
2 parents 88b140d + fdef6bb commit 1b6eafd

File tree

1 file changed

+38
-5
lines changed

1 file changed

+38
-5
lines changed

README.md

+38-5
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
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.
2828
</p>
2929

30-
# Are there any documents that go along with this?
30+
## Are there any documents that go along with this?
3131
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)**.
3232

33-
# What are the pieces?
33+
## What are the pieces?
3434

3535
* [node-sass-middleware](https://github.com/sass/node-sass-middleware) for Sass compilation
3636
* [express](http://expressjs.com/) for serving HTML and CSS (compiled from Sass)
3737
* [commander](https://github.com/tj/commander.js) as a foundation for a CLI to run exerises
3838

39-
# Getting Set Up
39+
## Getting Set Up
4040

4141
There are a few things you need to ensure you have installed, in order to be ready for this course.
4242

@@ -65,16 +65,49 @@ cd websec
6565
npm install
6666
```
6767

68+
### Troubleshooting
6869

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
70103

71104
This workshop builds on a single example project, step-by-step. You can start the project by running
72105

73106
```sh
74107
npm start
75108
```
76109

77-
# License
110+
## License
78111
While the general license for this project is the BSD 3-clause, the exercises
79112
themselves are proprietary and are licensed on a per-individual basis, usually
80113
as a result of purchasing a ticket to a public workshop, being a participant

0 commit comments

Comments
 (0)