Add newlines to build instructions.
Oh, markdown...
This commit is contained in:
parent
77edc8464f
commit
66c84cabbf
|
@ -28,17 +28,20 @@ if you prefer polished minimalism, Scylla might be the client for you.
|
||||||
## Building Instructions
|
## Building Instructions
|
||||||
If you'd like to build Scylla, you need to take the following steps:
|
If you'd like to build Scylla, you need to take the following steps:
|
||||||
1. Install [Elm](https://elm-lang.org/) and [Sass](https://sass-lang.com/)
|
1. Install [Elm](https://elm-lang.org/) and [Sass](https://sass-lang.com/)
|
||||||
|
|
||||||
2. Compile Scylla's Elm and Sass source files:
|
2. Compile Scylla's Elm and Sass source files:
|
||||||
```
|
```
|
||||||
elm make src/Main.elm --output static/js/elm.js --optimize
|
elm make src/Main.elm --output static/js/elm.js --optimize
|
||||||
sass static/scss/style.scss static/css/style.css
|
sass static/scss/style.scss static/css/style.css
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Open the provided `index.html` file in your browser. You can't do it by just loading the file in Chrome;
|
3. Open the provided `index.html` file in your browser. You can't do it by just loading the file in Chrome;
|
||||||
you need to use an actual web server. I use Python2's built in HTTP server as such:
|
you need to use an actual web server. I use Python2's built in HTTP server as such:
|
||||||
```
|
```
|
||||||
python2 -m SimpleHTTPServer
|
python2 -m SimpleHTTPServer
|
||||||
```
|
```
|
||||||
If you use this, visit the address `localhost:8000` once the server starts.
|
If you use this, visit the address `localhost:8000` once the server starts.
|
||||||
|
|
||||||
4. If you'd like to host Scylla, you need to be aware that it uses URLs as paths.
|
4. If you'd like to host Scylla, you need to be aware that it uses URLs as paths.
|
||||||
Because of this, in order for refreshing the page to work as intended,
|
Because of this, in order for refreshing the page to work as intended,
|
||||||
you need to make sure that all URLs that don't start with "static" serve the
|
you need to make sure that all URLs that don't start with "static" serve the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user