Bookmarks for Who's On First places.
Clone or download

README.md

electron-whosonfirst-bookmarks

Bookmarks for Who's On First places.

Important

This is wetter-than-wet paint. If you don't have the time or the inclination for a lot of unknown-unknowns and a measure of bad craziness then it's probably still "too soon". If you're up for some adventure then welcome!

Unfortunately there isn't much in the way of documentation yet, but there is a long and twisty blog post about the project.

Install

First of all you will need to have Git, Node.js and npm installed. On a Mac these are all easy to install with the Homebrew package manager. On Linux all the dependencies are available via tools like apt or yum. On Windows I'm afraid I have no idea what the state of the art is these days.

Once all the dependencies are installed:

# Clone this repository
git clone https://github.com/whosonfirst/electron-whosonfirst-bookmarks

# Go into the repository
cd electron-whosonfirst-bookmarks

# Install dependencies
npm install

# This is where it gets weird and fiddly... I am not sure I think you
# also need to do this to make the SQLite stuff work... node is still
# a bit of a mystery to me...
npm install --save-dev electron-builder
npm install --save sqlite3
npm run postinstall
   
# Run the app
npm start

Database schema

Take a look at schema/main.sql.

Important

It is very likely that the database schema will change and it may change without a handy facility for updating itself automatically (yet). Any subsequent database alters will be included with the source code but you may have to apply them manually, at least in the short-term.

See also