0.46.7 • Published 7 years ago

bazaar-cli v0.46.7

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

New Project Creation

> npm install -g bazaar-cli@latest
> cd to-your-development-folder
> bz init project_name # this will create a new project with project_name
# Follow the prompts for which sample environments you want set up (mobile, admin, api, etc.)
> cd project_name/mobile
> npm run ios
# this will boot the iOS simulator and start the packager
> vi src/home-view.js
# edit this file and save, then cmd+R in simulator to reload

Login

Bazaar CLI requires a CMS login (currently with SuperAdmin role).

> bz login
# follow prompts to log in using CMS creds

If using the Bazaar backend services

> vi bazaar.json
# Add collections and permissions (documented below) you want created
# When finished
> bz publish scheme

Installing to an event

> bz install sample-event-id

Publishing binaries

When your changes are ready to go live (update the version in bazaar.json)

> bz publish binary

The URL of the mobile bundles will be returned upon completion of this command.

They can be added as micro-apps with the following form:

https://bazaar.doubledutch.me/app/react_cards/0.0.1_0.46.4/bundle/index.platform.0.46.4.manifest.bundle?module={feature_name}

Collection permissions

  1. globalReadAccess - any user can read any document (per event) in the collection
  2. globalWriteAccess - any user may create/edit any document in the collection
  3. userWriteAccess - any user has access to edit any documents assigned to them in the collection
  4. By necessity, all users have access to read any documents assigned to them
0.46.7

7 years ago

0.46.6

7 years ago

0.46.5

7 years ago

0.46.4

7 years ago

0.46.3

7 years ago

0.46.2

7 years ago

0.46.1

7 years ago

0.46.0

7 years ago

0.40.12

7 years ago

0.40.11

7 years ago

0.40.2

7 years ago

0.40.1

7 years ago

0.40.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago