GithubHelp home page GithubHelp logo

wedocs's People

Contributors

eduardolundgren avatar henvic avatar igr avatar ipeychev avatar liftedkilt avatar pragmaticivan avatar zenorocha avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wedocs's Issues

Generic types should warn about binding to localhost

Hey,

when you run a normal docker/etc container and you bind solely to localhost (loopback iface) you can't reach it by touching the bound port. As we rely on such behavior right now, it'd be good that the documentation for these types reflect this

Document WEDEPLOY_WEB_PATH env variable

When developing an application, the output is often produced from some build process.
This could be a Gulp/Grunt task and the result is usually in a folder called out or dist. In this case, index.html won't be in the main folder, but in dist or out.

We have to add to the documentation information about how to specify where the output result is. This is the purpose of WEDEPLOY_WEB_PATH environment variable. Its value specifies where WeDeploy hosting service will look for the files.

Document how to protect a path using parameters

Document how to protect a path using parameters. Here is an example:

{
  "data": true,
  "path": "/boards",
  "parameters": {
    "filter": {
      "value": {"userId":{"operator":"=","value":"$auth.id"}}
    }
  }
}

Explain how to deploy an already existing application

We have to add to the docs information about how to deploy an already existing application.

At the moment, when reading the documentation about the hosting service, the developer gets the impression that the recommended (or the only) way of deploying the app is to fork a boilerplate and commit its content to WeDeploy's Git server.

Although this is a valid scenario, in many cases this would be an extra step, which the developers would prefer to avoid. In most of the cases the developer works on his project and at some point he decides to deploy it. The recommended way of forking a boilerplate gives the impression to the developer that he should have two repositories - one where he develops and another one (the forked boilerplate) where he has to put the content which will be deployed.

Obviously this is an incorrect assumption and that's why project.json and container.json exist. They are documented here, but there is no relation between them and the documentation of the services, so the developer cannot figure out how to use project.json and container.json in his own project.

Apart from adding a relation between these and the documentation of the different services, it would be good to have a separate section in the docs, where we take an existing project and explain how to add to it the different services. From these e can create videos on YouTube and embed them to the docs.

Be explicit about dependency versions

Hey,

currently we don't mention the docker version necessary for running wedeploy. We should also be explicit that in macosx we target docker for mac.

Running "we link" returns an error

If we follow the documentation here and run:

we link

we get the following error:

Error: Project not found

It looks we have to specify the name of the project, like:

we link --project demo

Document how to protect a collection

Docs currently lack information how to protect a collection to be accessed only by authenticated user.

For example, the following code will forbid anonymous requests to boards collection by checking if the field userId in the boards collection matches the Id of currently authenticated user:

[
  {
    "data": true,
    "path": "/boards",
    "parameters": {
      "filter": {
        "value": {"userId":{"operator":"=","value":"$auth.id"}}
      }
    }
  }
]

Document that the hosting service provides ETag and gzip OOTB

The hosting service provides OOTB some goodies for the developers. These include ETag and gzip compression. The fact that ETag is available would save some work of the developer, because he won't have to add versions to his CSS and JS files to force the browser to reload them when a new version is created.

What to document on `boilerplate-*` repos

Hey,

currently in the boilerplate-* READMEs we're just directing the user to /docs, but i feel that someone who simply git clones the repository might be inclined to stick with README.md. Should we document the repositories in their READMEs or let that to /docs? Wdyt?

Thx!

Custom Domains usage

Make it clear the better way to use this approach where:

www.mydomain.com is a CNAME to mydomain.com

ivansj.com is an A to wedeploy IP.

the custom domain there is pointing to mydomain.com

The service is called web.

I tried http://web.mydomain.com and since I didn't configure web on my domain DNS it is not working. Maybe we need good instructions for this approach.

Warn users about docker-for-mac shared folders

Hey,

one of our users had trouble trying to we link a service that was not within docker-for-mac shared folders set. That's something that could be evicted through documenting the configuration of docker-for-mac more extensively.

Wdyt?
Thx!

Custom Domain docs should warn users about the DNS propagation time to save its settings

In the Custom Domain screen in the console, the user won't be able to save his settings if his NS settings haven't be propagated yet.

So the issue bellow was created to show a more descriptive message to the user about the propagation issue:
https://github.com/wedeploy/console/issues/294

So, I think it would be a good idea if the docs page about Custom Domain reinforces it too.

The docs page I'm referring to is the one bellow:
https://wedeploy.com/docs/intro/custom-domains/

Document protecting path with roles

Protecting given path with roles have to be added to the documentation. Here is an example:

{
  "data": true,
  "path": "/",
  "auth": {
    "scopes": ["admin"]
  }
}

Document default engine behavior

Hey, some simple things like allowed origins are set by default but we don't explicitly state how it is. Perhaps it'd be a good idea to document them. As it affects data, auth and email directly i'm not sure what'd be the best way of doing it.

Wdyt?

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.