Skip to content

MIACollaborative/justin-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

justin-examples

Try the examples

To use the examples in this repo, clone the repo and cd into the example directory you want to try (e.g., break-away). You can also create new app folders and write your own! Refer to the config files (e.g., package.json, tsconfig.json) in break-away or other example app directories for what you'll need.

Be sure to check out the example app's README for any instructions related to that app.

Install MongoDB

JustIn requires a MongoDB server with replica sets in order to work. These instructions cover how to set up a local instance of MongoDB for testing and playing with the examples.

Download MongoDB Community Edition

Download MongoDB community edition

Create folder for storing data

On Mac, create a /data/mdata directory in your home directory ($ mkdir ~/data/mdata).

On Windows, create a \data\db directory at the top level of your C: drive, or (mkdir c:\data\db).

Run MongoDB

In your command line/terminal:

mongod --port 27017 --dbpath ~/data/mdata --replSet rs0 --bind_ip localhost

This will need to stay running while any example apps are running. For information about other ways to install and run MongoDB, including running it as an always-available service, see the MongoDB documentation for your OS.

Install MongoDB GUI (Optional)

If you want to see the data that JustIn creates and modifies in Mongo, you can use MongoDB compass for exploring the DB, or you can use mongosh from the command line.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •