Giter VIP home page Giter VIP logo

governance-foundation / knowledge-fund Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 2.16 MB

Organisational Knowledge Management 4.0

Home Page: https://docs.google.com/presentation/d/138diQvc-QKFdn7Yd2Q5poN-rY-4W28rT0qOefevpoho/edit

License: Apache License 2.0

JavaScript 3.92% HTML 2.42% Vue 36.55% TypeScript 53.65% Shell 0.03% CSS 3.44%
electron knowledge-fund governance architecture synthetic-intelligence

knowledge-fund's Introduction

Knowledge Fund

build_status Coverage Status github license github issues github last commit github repo size Gitter Gitter

Project setup

yarn install

Web App Dev Commands

To use this app in development cycles use following commands.

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Run your end-to-end tests

yarn test:e2e

Lints and fixes files

yarn lint

Electron Dev Commands

To build and run your web app using electron use following commands.

Compiles and hot-reloads for development

yarn electron:serve

Compiles and minifies for production

yarn electron:build

Customize configuration

Pipelines

Following pipleines exist for compiling code as its commited

  • Build Branche (build.yml) - Build and Test all branches.
  • Build/release (build-master.yml) - Build, Test and Release master branch.
  • PR Coverage Report (pr-coverage.yml) - Run coverage on PR's and add coverage results into PR history.

Releasing

When you want to create a new release, follow these steps:

  1. Update the version in your project's package.json file (e.g. 1.2.3)
  2. Commit that change (git commit -am v1.2.3)
  3. Tag your commit (git tag v1.2.3). Make sure your tag name's format is v*.*.*. Your workflow will use this tag to detect when to create a release
  4. Push your changes to GitHub (git push && git push --tags)

After building successfully, the action will publish your release artifacts. By default, a new release draft will be created on GitHub with download links for your app. If you want to change this behavior, have a look at the electron-builder docs.

More info on setting up release pipline found here action-electron-builder.

Build Config

Electron build configuration is mainated in vue.config.js under following node:

pluginOptions: {
    electronBuilder: {
        ...

For possible configuration optons refer to electron.build docs.

Developer Windows WSL Setup

Get some soft

All Linux Version

  • Install pre-requsites sudo apt update && sudo apt install -y git curlgcc g++ make
  • Install node
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt -y install nodejs

Ubuntu

  • Install yarn sudp apt install yarn

Debian

  • Remove cmdtest sudo apt-get remove cmdtest
  • Install yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install -y yarn

App Generation

To generate this app from sratch run the following

  • Install Vue globally - npm install -g @vue/cli
  • Create Vue App vue create knowledge-fund.git
    • Please pick a preset:
      • Manually select features
    • Features (All Yes)
    • Babel
      • TypeScript
      • Progressive Web App (PWA) Support
      • Router
      • Vuex
      • CSS Pre-processors
      • Linter / Formatter
      • Unit Testing
      • E2E Testing
    • Use class-style component syntax?
      • Yes
    • Use Babel alongside TypeScript?
      • Yes
    • Use history mode for router?
      • Yes
    • Pick a CSS pre-processor:
      • Sass/SCSS (with dart-sass)
    • Pick a linter / formatter config:
      • ESLint + Prettier
  • Pick additional lint features: * Lint on save
    • Pick a unit testing solution:
      • Jest
    • Pick an E2E testing solution: Cypress
    • Where do you prefer placing config:
      • In dedicated config files
  • Add Vuetify UI framework vue add vuetify
    • use Default
  • Update tsconfig.json
    • add vuetify to types[]
  • Add Electron dev tools yarn add @types/electron-devtools-installer --dev
  • Add Electron to project vue add electron-builder
    • Latest Version
    • Add Spectron tests
  • Add missing node types yarn add @types/node@12 --dev
  • Update electron to latest version yarn upgrade electron

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.