3.0.1 • Published 3 years ago

fulcrum-schema v3.0.1

Weekly downloads
5
License
BSD
Repository
github
Last release
3 years ago

Fulcrum Query Table Schema Build Status

Setup

npm install -g browserify

Build

make

Distribute

Builds the final output. The main output file dist/fulcrum-schema.js.

make

Deploying

When making changes to this library, the fulcrum-schema.js file needs to be copied to the Fulcrum web app directory in public. At the same time the fulcrum-query repo needs to be upgraded to use the new version.

DO NOT change the template.sql in the web app without a complete understanding of the side effects. In most cases a core schema change will have to be hand-coded and applied to all existing databases. The template.sql file represents the one-time V1 version of the query schema and should never change unless there's a very good reason.

Copy files to other repositories

Copies the build output and docs to the other repositories (each are optional, but at least one is needed).

You can define the paths to the Fulcrum repos using environment variables in your shell config:

export FULCRUM_ANDROID=/path/to/android/app
export FULCRUM_IOS=/path/to/ios/app
export FULCRUM_WEB=/path/to/web/app
export FULCRUM_SITE=/path/to/website

Or you can assign them in the make command:

FULCRUM_SITE=$HOME/dev/fulcrumapp.com make dist copy

Once you have the environment variables set, you can run:

make copy

or

make dist copy # clean, build and deploy everything

Tests

make test
3.0.1

3 years ago

3.0.0

3 years ago

2.1.0

5 years ago

2.0.14

5 years ago

2.0.13

5 years ago

2.0.12

5 years ago

2.0.11

5 years ago

2.0.10

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

7 years ago

2.0.0

7 years ago