1.0.0 • Published 5 years ago

kuizo-yuza v1.0.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

Kuizo-Yuza

Kuizo-Yuza is user service of Kuizo ecosystem


Dependency

> Node.js & npm

How to install on Ubuntu 16.04 64-bit | 18.04 64-bit

sudo apt-get update
sudo apt-get install nodejs

sudo apt-get install npm

How to Setup

Assume you have git clone successfully and have all dependencies ready:

  1. Rename folder to Kuizo-Yuza with capital letter, move into it

    mv kuizo-yuza Kuizo-Yuza
    cd Kuizo-Yuza

    from here now on, all snipplet are assumed to be run from Kuizo-Yuza/:

  2. Run package manager

    npm install
  3. Copy .env.example to .env and fill in missing area

    npm run copy-env
  4. Assume you have Kuizo-Prisma cloned, you can pull the generated files

    npm run update-schema

    or simply go to Kuizo-Prisma and distribute it

    cd ../Kuizo-Prisma/
    npm run update

How To run Jest Test

To get latest build (not necessary if you doesn't change the production-code, changing test-code doesn't need to be re-compiled)

npm run tsc

To test

jest -i

How to Up the server

npm run deploy

or to build then deploy

npm run build