-
boats.sql (for now). To provide a sense of how the final schema will probably end up looking like.
-
/swarm - Contains the front end cluster configs, scripts and documentation
-
/web: (Under construction) web-based front end for testing and demonstration. Includes Express middleman server to route AJAX requests from client to either mongoDB (not included) or mySQL
-
/mysql - Contains mysql cluster config files
-
/mysql-docker - Contains mysql cluster config files using docker (deprecated)
- Distributed implementation of SQL database
- Other components as appropriate
- In
web/
, runnpm install
- Navigate to
web/client/
, runnpm install
again. - Create a file,
.env
, and set its contents as follows:PORT=3001
- Head up one level to
web/
- Run
npm start & (cd client && npm start)
I've converted the web folder into a submodule. To update it, do the following:
- Navigate to the main folder of the repo.
git pull
, should delete the contents of theweb/
folder.- If
web/
folder is not empty, then runrm -rf web/*
- If
git submodule update --init --recursive
- In the future, to update your submodules, you can either
git pull
from the submodule folder (web/
in this case), or just rungit pull && git submodule update --recursive
from the main folder.