Skip to content

@cspanring /

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Weave Mac OS X installation instructions

Weave installation on Mac OS X


We are using homebrew as package manager to install all Weave dependencies.

Install PostgreSQL and Apache Tomcat

$ brew install postgresql tomcat

Note: Weave is also compatible with Oracle Glassfish as Servlet Container and supports MySQL as RDBMS.

Start Tomcat

$ /user/local/Cellar/tomcat/7.0.16/libexec/bin/

Please see the Apache Tomcat documentation for more configuration details.

Start PostgreSQL

Please follow the instructions after the installation for initial PostgreSQL configuration. Once you have done that, you can start the database server with

$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start

Create Weave user and database

$ createuser weave
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n

Set user password:

$ psql postgres
postgres=# ALTER ROLE weave WITH password 'mypassword';
postgres=# \q

Create Weave database and set owner to user weave:

$ createdb weave -O weave

Install Weave

Download the latest Weave binaries

Available as download from github or, if you have git installed, clone via git:

$ git clone

Add Weave to Tomcat

Copy all Weave files to your Tomcat installation:

$ cd Weave-Binaries
$ cp -R ROOT/* /usr/local/Cellar/tomcat/7.0.16/libexec/webapps/ROOT/
$ cp WeaveServices.war /usr/local/Cellar/tomcat/7.0.16/libexec/webapps/

Configure Weave database

Open the AdminConsole and add your database credentials.


Your Weave installation is now ready to use and available at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.