The basic setup for web only work is:
8.1and higher. Make sure that
NPMis at least version
npm install -g yarn.
For complete development environment setup on MacOS, follow:
In order to set up the project locally, perform the following steps:
||Clone from github.|
||Install node packages.|
||Set up default configuration for running the boilerplate.|
||Optional - if you wish to try it without Cassandra, use this command to switch to an in-memory persister.|
In addition to the above, you might want to specify
JWT_SECRET by modifying the
.env file. This step can be skipped if you do not care about the actual security and simply want to get the project running.
In order to use the URB tools, set
export URB_HOME="/<your local folder for URB>/urb" in
In order to develop, three servers need to be started: web server, webpack server, React Native packager. This can be done with one command:
yarn dev. Alternatively, if you need to develop only for the web you can use
yarn devw which only starts the web and webpack servers.
To open the app:
http://localhost:26005, or whatever IP was assigned when running
yarn update-ipor after installation.
To run the iOS app in the emulator:
/.env, or use the defaults. The defaults are:
yarn update-default-persister cassandra.
docker-compose upin a new terminal to start up a local dynamo db (or start it via docker Kitematic).
yarn update-default-persister dynamodb.
Instructions for other databases will be added as support for those is added.