Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weijiangan/kljs-events
https://github.com/weijiangan/kljs-events
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/weijiangan/kljs-events
- Owner: weijiangan
- Created: 2019-02-25T21:10:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T22:07:41.000Z (almost 2 years ago)
- Last Synced: 2023-10-19T21:41:41.899Z (about 1 year ago)
- Language: JavaScript
- Size: 2.34 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Starting Guide
## Installation
```sh
yarn install # preferred
npm install # alternative
```## Start Database with prisma
Install [Prisma](https://www.prisma.io/docs/prisma-cli-and-configuration/using-the-prisma-cli-alx4/) version 1.32.2
Then, run prisma with docker
```sh
docker-compose up # for running prisma
docker-compose up -d # for running in background
docker-compose down # for shutting down server
```## Setup .env
```sh
mv .env.sample .env
```## Start Prisma
Install specific version of prisma (refer to image prismagraphql/prisma in [docker-compose.yml](docker-compose.yml))
```sh
npm install -g [email protected] # Check docker-compose.yml
```Then, deploy using Prisma CLI
```sh
prisma deploy
```To run dev server
```sh
npm run start:dev
```