Skip to content

Instantly share code, notes, and snippets.

@bgrins
Created November 18, 2022 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bgrins/d907576f42d5b70881a2d8a283f8fd9d to your computer and use it in GitHub Desktop.
Save bgrins/d907576f42d5b70881a2d8a283f8fd9d to your computer and use it in GitHub Desktop.

For some reason just using datasette when in the venv described at https://docs.datasette.io/en/0.62/contributing.html didn't work, so use this instead

./venv/bin/datasette --reload -p 8002 fixtures.db

Full command to build the codemirror bundle and re-run:

node_modules/.bin/rollup datasette/static/cm-editor-6.0.1.js -f iife -n cm -o datasette/static/cm-editor-6.0.1.bundle.js -p @rollup/plugin-node-resolve -p @rollup/plugin-terser && ./venv/bin/datasette --reload -p 8002 fixtures.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment