mirror of https://github.com/rhaamo/reel2bits/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.. | ||
build | 3 years ago | |
config | 3 years ago | |
dist | 3 years ago | |
docker | 3 years ago | |
locales | 3 years ago | |
scripts | 3 years ago | |
src | 2 years ago | |
static | 3 years ago | |
test | 3 years ago | |
.babelrc | 3 years ago | |
.dockerignore | 3 years ago | |
.editorconfig | 3 years ago | |
.eslintignore | 3 years ago | |
.eslintrc.js | 3 years ago | |
.gitignore | 3 years ago | |
Dockerfile | 1 year ago | |
README.md | 3 years ago | |
babel.config.js | 3 years ago | |
index.html | 3 years ago | |
jsconfig.json | 3 years ago | |
package.json | 1 year ago | |
yarn.lock | 1 year ago |
README.md
Build Setup
# install dependencies
npm install -g yarn
yarn
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run unit tests
npm run unit
For Contributors:
You can create file /config/local.json
see /config/local.example.json
to enable some convenience dev options:
-
target
: makes local dev server redirect to some existing instance's BE instead of local BE, useful for testing things in near-production environment and searching for real-life use-cases. -
host
: mandatory, the value to use forHost
header, the same asSERVER_NAME
/AP_DOMAIN
inconfig.py
.
FE Build process also leaves current commit hash in global variable ___reel2bitsfe_commit_hash
so that you can easily see which reel2bits-fe commit instance is running, also helps pinpointing which commit was used when FE was bundled into BE.