dev env cleanup
This commit is contained in:
@@ -2,9 +2,15 @@
|
||||
|
||||
### 🚧🚧🚧🚧🚧 UNDER CONSTRUCTION 🚧🚧🚧🚧🚧🚧
|
||||
|
||||
## Reason for Being
|
||||
|
||||
This app allows for legacy multisig users to create, sign and broadcast transactions on the stargate enabled cosmos hub chain. It's built with Cosmjs, Next.js, FaunaDB and Netlify.
|
||||
|
||||
## Running locally
|
||||
[The app can be tested out here](https://cosmos-legacy-multisig.netlify.app/). (_*Note:*_ Only the UI and datastore are functional, waiting on some Cosmjs updates to handle multisig creation and signing)
|
||||
|
||||
## Dev Setup
|
||||
|
||||
You'll need a [FaunaDB](https://dashboard.fauna.com/) account and a Graphql database setup using the `db-schema.graphql` in this repo. Once you have that, create a secret key using the FaunaDB dashboard for your database, and set it as the environment variable `FAUNADB_SECRET`, in a `.env` file in the root of this repo.
|
||||
|
||||
Clone the repo, then run:
|
||||
|
||||
@@ -13,3 +19,5 @@ Clone the repo, then run:
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Since this app uses Netlify based Lambda functions to interact with FaunaDB, when run locally it uses a proxy server locally (housed in `server.js`) to emulate Netlify's function endpoints.
|
||||
|
||||
@@ -3,19 +3,3 @@
|
||||
command = "npm run build && npm run export"
|
||||
functions = "lambda-build"
|
||||
publish = "out"
|
||||
|
||||
## Uncomment to use this redirect for Single Page Applications like create-react-app.
|
||||
## Not needed for static site generators.
|
||||
#[[redirects]]
|
||||
# from = "/*"
|
||||
# to = "/index.html"
|
||||
# status = 200
|
||||
|
||||
## (optional) Settings for Netlify Dev
|
||||
## https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#project-detection
|
||||
#[dev]
|
||||
# command = "yarn start" # Command to start your dev server
|
||||
# port = 3000 # Port that the dev server will be listening on
|
||||
# publish = "dist" # Folder with the static content for _redirect file
|
||||
|
||||
## more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/
|
||||
|
||||
Reference in New Issue
Block a user