mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 12:47:56 +08:00
* Cleanup the backend-dev convenience method * Add the frontend_dev convenience method frontend_dev is a soup-to-nuts convenience method for setting up the FE development environment with node running a the client code on port 3000 with the a separate cellxgene package serving the API over port 5005 in the background. The script can be run from Finder. * Update the developer scripts documentation * Remove the 'test' make target in the client Makefile Rationale: * Given how long the smoke tests take to run, it is unlikely that developers will want to run all tests together. * It is unlikely that developers will have set up the backend server properly for the tests to pass. * Available commands should be safe-ish and not lend themselves to confusing errors. * You can still group tests by concatenating them in a make command, as in `make unit-test smoke-test`. * This target isn't used in any of our CI pipelines -- KISS. * Some version of python3... * Minor typos in docs * Respond to feedback from @bkmartinjr * Make adjustments so that DATASET path is predictable * Simplify environment defaults a bit
13 lines
212 B
Bash
Executable File
13 lines
212 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
PROJECT_ROOT=$(git rev-parse --show-toplevel)
|
|
|
|
cd ${PROJECT_ROOT}
|
|
|
|
virtualenv -p python3 venv
|
|
|
|
source venv/bin/activate
|
|
|
|
make uninstall dev-env-server build-for-server-dev install-dev
|