update README > Development > Setup, instruct user to use NPM commands for development

codeql
Yeiniel Suarez Sosa 5 years ago committed by Yeiniel Suarez Sosa
parent e0c07509f3
commit 3fdf935692
No known key found for this signature in database
GPG Key ID: E2CFACE611B42B6C
  1. 12
      README.md

@ -45,17 +45,7 @@ Glowing Bear uses WeeChat directly as its backend through the relay plugin. This
## Development ## Development
### Setup ### Setup
Getting started with the development of Glowing Bear is really simple, partly because we don't have a build process (pure client-side JS, remember). All you have to do is clone the repository, fire up a webserver to host the files, and start fiddling around. You can try out your changes by reloading the page. Getting started with the development of Glowing Bear requires the installation of [Node.js](https://nodejs.org). All you have to do is clone the repository, install dependencies using command `npm install`, fire up the development webserver using command `npm start`, and start fiddling around. Once a change is made the development server will instruct the Web browser to reload the page for you.
Here's a simple example using the python simple web server:
```bash
git clone https://github.com/glowing-bear/glowing-bear
cd glowing-bear
# python 2.*
python -m SimpleHTTPServer
# or python 3.*
python -m http.server
```
Now you can point your browser to [http://localhost:8000](http://localhost:8000)! Now you can point your browser to [http://localhost:8000](http://localhost:8000)!

Loading…
Cancel
Save