@@ -137,43 +137,13 @@ By default, the tests only run against the `h2` driver. You can specify which dr
...
@@ -137,43 +137,13 @@ By default, the tests only run against the `h2` driver. You can specify which dr
ENGINES=h2,postgres,mysql,mongo lein test
ENGINES=h2,postgres,mysql,mongo lein test
At the time of this writing, the valid datasets are `h2`, `postgres`, `mysql`, `mongo`, `sqlserver`, and `sqlite`.
At the time of this writing, the valid engines are `h2`, `postgres`, `mysql`, `mongo`, `sqlserver`, `sqlite`, `druid`, `bigquery`, and `redshift`. Some of these engines require additional parameters
when testing since they are impossible to run locally (such as Redshift and Bigquery). The tests will fail on launch and let you know what parameters to supply if needed.
Run the linters with
Run the linters:
lein eastwood # Clojure linters
lein bikeshed --max-line-length 240
#### Bootstrapping (for REPL)
To quickly get your dev environment set up, use the `bootstrap` function to create a new User and Organization.
Open a REPL in Emacs or with `lein repl` and enter the following:
```clojure
(use'metabase.db)
(setup-db)
(use'metabase.bootstrap)
(bootstrap)
```
You'll be walked through the steps to get started.
#### API Client (for REPL)
lein eastwood && lein bikeshed
You can make API calls from the REPL using `metabase.http-client`:
@@ -204,22 +174,9 @@ Start up an instant cheatsheet for the project + dependencies by running
...
@@ -204,22 +174,9 @@ Start up an instant cheatsheet for the project + dependencies by running
lein instant-cheatsheet
lein instant-cheatsheet
#### Marginalia
You can generate and view documentation with
lein marg
open ./docs/uberdoc.html
You can update the GitHub pages documentation using
make dox
You should be on the `master` branch without any uncommited local changes before doing so. Also, make sure you've fetched the branch `gh-pages` and can push it back to `origin`.