Git Product home page Git Product logo

Comments (8)

BhaskaranR avatar BhaskaranR commented on May 20, 2024 1

works good now. thanks for all the help!

from nextjs-starter.

pbteja1998 avatar pbteja1998 commented on May 20, 2024

@BhaskaranR can you tell me how you created the key? You should first create a database in Fauna, then go to Security Tab, and create a key there. After that, you can run yarn setup-db. Please let me know if you face any more problems.

from nextjs-starter.

BhaskaranR avatar BhaskaranR commented on May 20, 2024

I don't have fauna dashboard local setup. the link mentioned is not available. i created the db in the docker shell.

fauna add-endpoint http://localhost:8443/ --alias localhost --key secret
fauna create-database development_db --endpoint=localhost
fauna create-key development_db --endpoint=localhost

then i copied this key to .env

FAUNADB_SECRET=secret
FAUNA_ADMIN_KEY=fnAEG4FkPgACAPuBn62LO07rjVDjj25_BtRsk2o0

from nextjs-starter.

pbteja1998 avatar pbteja1998 commented on May 20, 2024

@BhaskaranR I just updated the README with instructions to use Fauna Dev docker container.

Check it out at https://github.com/pbteja1998/nextjs-starter#how-to-run-fauna-locally

TL;DR;
When you are using Fauna Docker container and running it locally, your FAUNADB_SECRET AND FAUNA_ADMIN_KEY, both are same and equal to secret

from nextjs-starter.

BhaskaranR avatar BhaskaranR commented on May 20, 2024

it still asks me for the admin key
image

from nextjs-starter.

pbteja1998 avatar pbteja1998 commented on May 20, 2024

Are you running yarn setup-docker-db or yarn setup-db?

from nextjs-starter.

pbteja1998 avatar pbteja1998 commented on May 20, 2024

Also, can you please download the latest version of the template? I made a few changes today. You seem to be using the old version.

from nextjs-starter.

pbteja1998 avatar pbteja1998 commented on May 20, 2024

Awesome. Very glad to hear.

from nextjs-starter.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.