Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 24 14:24

    brunozoric on master

    fix: correct behavior of plugin… (compare)

  • Oct 24 14:24
    brunozoric closed #1316
  • Oct 24 14:24
    brunozoric closed #1308
  • Oct 24 14:13
    AlbionaHoti assigned #1125
  • Oct 24 14:13
    AlbionaHoti unassigned #1125
  • Oct 24 09:44
    BhuwanChandra commented #1125
  • Oct 24 04:30
    iamdarshshah commented #1301
  • Oct 23 15:43
    AlbionaHoti commented #423
  • Oct 23 15:41
    AlbionaHoti review_requested #1316
  • Oct 23 14:39
    AlbionaHoti review_requested #1318
  • Oct 23 14:38
    AlbionaHoti commented #1125
  • Oct 23 14:36
    AlbionaHoti commented #1195
  • Oct 23 14:35

    doitadrian on v5

    fix(api-security-user-managemen… feat(api-security-user-manageme… style: run "prettier" and 35 more (compare)

  • Oct 23 14:34
    josselineperdomo commented #1303
  • Oct 23 14:20
    brunozoric synchronize #1297
  • Oct 23 14:20

    brunozoric on v5

    chore: fix configurations for d… feat: grid cells setting Merge branch 'v5' into feat/v5/… (compare)

  • Oct 23 14:14

    doitadrian on v5

    chore: update jest-dynamodb con… feat: introduce `@webiny/db` pa… feat: introduce `@webiny/db-dyn… and 4 more (compare)

  • Oct 23 13:38

    doitadrian on master

    chore: replace `pull_request` w… (compare)

  • Oct 23 13:34

    doitadrian on master

    chore: add `iamdarshshah` to co… (compare)

  • Oct 23 13:31

    doitadrian on v5

    chore: fix configurations for d… (compare)

Adrian Smijulj
@doitadrian
it’s different for every new Webiny project
graemeasher
@graemeasher
@doitadrian Okay thank you. And per the Going Live example code, in the dev profile I would get the JWT_SECRET for the alternate MongoDB from MongoDB Atlas for the cluster I setup based on that tutorial?
Adrian Smijulj
@doitadrian
yeah, different environments, different JWT_SECRETS basically
graemeasher
@graemeasher
Thx.
Adrian Smijulj
@doitadrian
Feel free to write additional questions if you’ll have any. I gotta go now, it’s becoming a bit late here (CEST) :)
cya :beers:
cianx
@cianx
That seem close to reasonable for the .env.json stored at the root. Which has the a few settings in it, MONGODB_SERVER and MONGODB_NAME, a developer could reasonably know. If I look at the .env.json in the both the api and app directories they contain a bunch of values I presume are generated by the serverless deploy. Which right now is a catch 22 as I cannot run the webiny deploy-api without .env.json files and I cannot create the .env.json files with out deploying the api.
Screenshot from 2020-05-13 13-43-45.png
Adrian Smijulj
@doitadrian
I understand @cianx.
Adrian Smijulj
@doitadrian

I think it’s good you pointed this out. But if you take a look at those .env files, you can see there are just a couple of things you can configure, and the rest is populated by the CLI, once the stacks are deployed.

For example, in the api folder, you’ll have something like this in your example.env.json (coming in our upcoming release):

{
  "default": {
    "GRAPHQL_INTROSPECTION": true,
    "GRAPHQL_PLAYGROUND": true,
    "S3_BUCKET": "[BUCKET]",
    "JWT_SECRET": "[JWT_SECRET]"
  }
}

Basically, all you have to enter here is the S3 BUCKET and the JTW_SECRET.

And if you open e.g. apps/admin, you’ll have something like:

{
  "default": {
    "SKIP_PREFLIGHT_CHECK": true,
    "INLINE_RUNTIME_CHUNK": false,
    "PUBLIC_URL": "/admin",
    "PORT": "3001"
  }
}

These are React app settings basically.

The other entries, you might have for “local”, like you have in your sshot, are created by the CLI, once the API is deployed.

I understand that it might not be super-straight forward, and that we’ll have to improve on this. So in our next release, we’ll actually include some comments for new users, which will tell the user what every variable is about.

We’ll also have a separate article on how env variables work all together.

please ask if you have any other concerns or I didn’t manage to explain it well :)
Bastian stangl
@bastian.stangl_gitlab
Hi guys, one more questions: How can I put a authentication in front of my site?
cianx
@cianx
Hi, How do you recommend that we setup webiny deploys on a CI server? The https://docs.webiny.com/docs/get-started/going-live seems to have the assumption that the state is stored on local machine between deploys. Our CI server stands up and tears down the environment(docker instances) for each deploy.
balajijegadeesan
@balajijegadeesan
Pls help in this. I followed steps as per doc
balajijegadeesan
@balajijegadeesan
Hi am getting error as below Pls help
webiny.js line no 1 'module' is undefined error code '800A1391' when i execute below webiny deploy-api --env=dev
Pavel Denisjuk
@Pavel910
@balajijegadeesan this can happen on Windows. This same issue and a solution can be found here: https://github.com/webiny/webiny-js/issues/753#issuecomment-598629723
Alex Oliynyk
@asashay

hi guys, today found your awesome project at git and would like to contribute dealing with some issues, but cannot install it locally. Local setup part is not working. Running webiny deploy api inside sample-project fails, webiny deploy-api produces an error, which I can fix renaming sample-project/webiny.root.js -> webiny.js. Running webiny deploy-api after produces

This is the first deploy of local environment, so it may take a few minutes.
Here's 🍎 to make the time pass faster :)
💡 Loaded local environment from /Users/mac/Work/Projects/webiny-js/sample-project/.env.json...
💡 Loaded local environment from /Users/mac/Work/Projects/webiny-js/sample-project/api/.env.json...
Error: Template file was not found! Make sure your serverless file has either ".yml" or ".yaml" extension.
    at findFile (/usr/local/lib/node_modules/@webiny/cli/sls/template/serverless.js:29:11)
    at Template.default (/usr/local/lib/node_modules/@webiny/cli/sls/template/serverless.js:47:26)
    at async module.exports (/usr/local/lib/node_modules/@webiny/cli/sls/execute.js:33:20)
    at async module.exports (/usr/local/lib/node_modules/@webiny/cli/sls/deploy.js:93:38)
    at async Object.handler (/usr/local/lib/node_modules/@webiny/cli/cli.js:71:9)

that's where I'm stuck. What can be done to address this one?

Sven
@SvenAlHamad
Hey Alex, we’re slowly moving away from gitter to slack. Can you please post your message there and some will help you out. https://www.webiny.com/slack
@asashay
Alex Oliynyk
@asashay
sure, thanks!
Bill Barthel
@bbarthel
Any thoughts about getting pass create-webiny-project error logging #1093?
Albiona
@AlbionaHoti
Hi @bbarthel, we are very active on Slack now as a community - Please join us there for any question :) https://www.webiny.com/slack