Skip to content
Dethe Elza edited this page Jan 16, 2015 · 5 revisions

Waterbear is pure Javascript. No server-side component is needed. It runs as a single-page webapp, but for loading examples it does need to be run from a webserver, not just opened up from the filesystem (i.e., if the URL starts with file:/// you may experience problems).

Installation

The fastest way to get it running under a webserver, once you have the files on your local machine, is to switch into the waterbear directory and start up a python webserver like so:

# Download files
git clone https://github.com/waterbearlang/waterbear.git
cd waterbear/

# In Python 2.x:
python -m SimpleHTTPServer

# In Python 3.x:
python -m http.server

That will give you a webserver for static files, running by default on port 8000, so in your browser go to http://localhost:8000/