Dev-Mode
Needed:
- NodeJS >= 7.6
- running Instance started as
node g e k k o --ui
Side-Note: I'm running on Windows 10 - so here it's working. Linux sometimes gave me headaches while installing dependencies...
To install, follow these steps:
- Install Quasar-CLI via npm
npm install -g @quasar/cli
, to make sure, everything is alright, follow the official installation guide to Quasar https://quasar.dev/quasar-cli/installation . - Clone this repo to some location on your hardline (should work from any directory in DEV-Mode).
- Fire up your g e k k o in UI-Mode.
- CD into cloned repository and run
npm install
. - Start the UI with
quasar dev
Note: If it complains about missing modules, make sure, vue-cli and quasar-cli are properly installed.
Compile for replacing the original g e k k o-UI
- Clone this repo.
- Run
npm install
+quasar build
from this repo. - In your g e k k o-folder zip up the folder
web/vue
as backup. - Place everything from repo's
dist/spa-mat
into theweb/vue
folder. (index.html must be there) - Modify the first line in
web/routes/baseConfig.js
so that it looks like thisvar UIconfig = require('../vue/statics/UiConfig');
- Modify the first line in
web/server.js
so that it looks like thisconst config = require('./vue/statics/UiConfig');
- Modify ~line 87 in web -> server.js: replace
app
.use(cors())
.use(serve(WEBROOT + 'vue/dist'))
.use(bodyParser())
.use(require('koa-logger')())
.use(router.routes())
.use(router.allowedMethods());
with
app
.use(cors())
.use(serve(WEBROOT + 'vue'))
.use(bodyParser())
.use(require('koa-logger')())
.use(router.routes())
.use(router.allowedMethods());
- Start g e k k o with UI command (
node g e k k o --ui
). - Enjoy!
If you changed your default connection or database-settings, please edit the file <g e k k o-quasar-ui-folder>/src/statics/UiConfig.js
accordingly.
npx quasar dev