Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default config #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ lerna-debug.log*
flowdb
*-credentials-*
.env.testnet.local
flix-manifest.json
7 changes: 4 additions & 3 deletions api/.env.local
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
DATABASE_PATH=./flow-templates-db.sqlite
DATABASE_URL=
MIGRATION_PATH=../dist/migrations
MIGRATION_PATH=./dist/migrations
PORT=3333
FLOW_ACCESS_API_URL=https://rest-testnet.onflow.org
TEMPLATE_DIR=../templates
TEMPLATE_DIR=../templates/**/*.json
AUDITORS_JSON_FILE=../auditors/auditors.json
MIXPANEL_TOKEN=
MIXPANEL_TOKEN=
TEMPLATE_MANIFEST_FILE=flix-manifest.json
Binary file modified api/flow-templates-db.sqlite
Binary file not shown.
1 change: 0 additions & 1 deletion api/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { json, urlencoded } from "body-parser";
import cors from "cors";
import express, { Request, Response } from "express";
import "express-async-errors";
import path from "path";
import templateRouter from "./routes/template";
import auditorsRouter from "./routes/auditors";
import { TemplateService } from "./services/template";
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"dev": "npm run build && cd api && node dist/index.js --dev",
"start": "cd api && node dist/index.js",
"postinstall": "npx lerna exec npm install",
"heroku-postbuild": "npx lerna exec npm run build",
Expand Down