You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2019. It is now read-only.
$ hasura migrate apply
FATA[0000] validating current directory failed: validate: cannot find [config.yaml, migrations] | search stopped at filesystem boundary
If I cd into schema first the migration succeeds:
$ cd schema
[schema ruby-2.6.3 (master)]$ hasura migrate apply
INFO migrations applied
There is no graphql_url in src/Main.elm. It is located in src/GraphQLClient.elm and already has the value: "https://todo-mvc-elm-backend1.herokuapp.com/v1alpha1/graphql"
The const that needs to be updated in src/index.js appears to be GRAPHQL_URI not HASURA_GRAPHQL_URL. GRAPHQL_URI is already set to: 'todo-mvc-elm-backend1.herokuapp.com/v1alpha1/graphql'
The npm commands to install dependencies and generate the Elm code with elm-graphql need to be run in the elm-app/ dir not in the root of the repository.
6 In order to generate the Elm code for the url in the generate-graph-types script invocation in elm-app/package.json also needs to be updated.
Running npm start in directory elm-app/ succeeds but web app just displays: "Sign in" page. Registration does not work.
The signup and login urls in src/Main.elm are referencing: https://guarded-woodland-47581.herokuapp.com`. Changing these to: https://todo-mvc-elm-backend1.herokuapp.com and attempting to register also fails.
The text was updated successfully, but these errors were encountered:
Following steps here: https://github.com/hasura/elm-graphql#running-the-app-yourself
Looking at steps wasn't clear how the first two steps related to the rest:
So I started with "Clone this repo:".
hasura/
and editconfig.yaml
There is no
hasura
top-level directory.I modified the the endpoint in
schema/config.yaml
insteadhasura migrate apply
fails:If I cd into
schema
first the migration succeeds:There is no
graphql_url
insrc/Main.elm
. It is located insrc/GraphQLClient.elm
and already has the value:"https://todo-mvc-elm-backend1.herokuapp.com/v1alpha1/graphql"
The
const
that needs to be updated insrc/index.js
appears to beGRAPHQL_URI
notHASURA_GRAPHQL_URL
.GRAPHQL_URI
is already set to:'todo-mvc-elm-backend1.herokuapp.com/v1alpha1/graphql'
The
npm
commands to install dependencies and generate the Elm code with elm-graphql need to be run in theelm-app/
dir not in the root of the repository.6 In order to generate the Elm code for the url in the
generate-graph-types
script invocation inelm-app/package.json
also needs to be updated.Original:
Updated:
npm start
in directoryelm-app/
succeeds but web app just displays: "Sign in" page. Registration does not work.The signup and login urls in
src/Main.elm are referencing:
https://guarded-woodland-47581.herokuapp.com`. Changing these to:https://todo-mvc-elm-backend1.herokuapp.com
and attempting to register also fails.The text was updated successfully, but these errors were encountered: