mirror of
https://github.com/dnote/dnote
synced 2026-03-15 15:05:51 +01:00
* Implement data model and basic UI for repetition rules * Implement tooltip * Allow to update and write test * Stop processing the first repetition until having waited at least the frequency amount * Set up email dev server reload * Test pro only * Allow to toggle repetition using token * Remove unused * Add last active * Simplify nextActive calculation * Create weekly digest repetition rules for existing users * Fix style * Fix link * Create default repetition rule upon signup * Get notes with thresholds * Fix test * Fix test
25 lines
602 B
Bash
Executable file
25 lines
602 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -eux
|
|
|
|
basePath="$GOPATH/src/github.com/dnote/dnote"
|
|
appPath="$basePath"/web
|
|
|
|
(
|
|
cd "$appPath" &&
|
|
PUBLIC_PATH=$PUBLIC_PATH \
|
|
COMPILED_PATH=$COMPILED_PATH \
|
|
ASSET_BASE_URL=$ASSET_BASE_URL \
|
|
"$appPath"/scripts/setup.sh &&
|
|
|
|
BUNDLE_BASE_URL=$BUNDLE_BASE_URL
|
|
ASSET_BASE_URL=$ASSET_BASE_URL \
|
|
COMPILED_PATH=$COMPILED_PATH \
|
|
PUBLIC_PATH=$PUBLIC_PATH \
|
|
IS_TEST=true \
|
|
node "$appPath"/scripts/placeholder.js &&
|
|
|
|
ROOT_URL=$ROOT_URL \
|
|
"$appPath"/node_modules/.bin/webpack-dev-server\
|
|
--env.isTest="$IS_TEST"\
|
|
--config "$appPath"/webpack/dev.config.js
|
|
)
|