Giter Club home page Giter Club logo

orioncms-tutorials's Introduction

Orionjs

A Node framework to build GraphQL server apps.

orionjs.com

Development

In order to deploy orionjs in your local you have to do the following:

  1. Fork the repo
  2. Clone the project forked
  3. Inside the folder created with the clone command, run the following command:
yarn install
  1. Then run the following command to bootstrap the project
yarn bootstrap
  1. Then we need to link an specific package you need with the following command (for example job package):
cd packages/jobs
yarn link
  1. In your project that is using orionjs, you need to run the following command in order to use the local instance of the package:
yarn link "@orion-js/jobs"

orioncms-tutorials's People

Contributors

fuzzybabybunny avatar iamkevingreen avatar jorisroling avatar loongmxbt avatar mraak avatar nicolaslopezj avatar pem-- avatar rwatts3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

orioncms-tutorials's Issues

Error When Trying to Create Guest Form

I tried adding in a guest form on the homepage, just as stated in the tutorial, but get the following error in the console and no form renders. I just get a "submit" button on the screen.

All code can be found here: https://github.com/jeremyhodges/flaming-ninja

Exception in template helper: TypeError: ss.objectKeys is not a function
    at Object.autoFormFieldNames (http://localhost:3000/packages/aldeed_autoform.js?e71f561d26e90711b8a4ddf6136073fdffff296d:1426:20)
    at bindDataContext (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2880:16)
    at Blaze._wrapCatchingExceptions (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:1651:16)
    at http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2928:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:3476:12)
    at wrapHelper (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2927:27)
    at Spacebars.call (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:172:18)
    at Spacebars.mustacheImpl (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:109:25)
    at Object.Spacebars.dataMustache (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:141:39)
    at http://localhost:3000/packages/aldeed_autoform.js?e71f561d26e90711b8a4ddf6136073fdffff296d:7323:22

Bad error in your security tutorial

In your tutorial on security, you present a coffeescript example for tuning Browser Policies.
It's published here: http://orionjs.org/tutorials/securing-orion
On te second to last line

origin = "#{protocol}://#{origin}"

a variable origin is reused. But this is done in a loop! So the second iteration this will become something like https://http://*.example.com Which is wrong ofcourse...

It would be solved by changing the last 2 line with:

pattern = "#{protocol}://#{origin}"
BrowserPolicy.content.allowOriginForAll pattern

Tutorial Requests

Please request for how to do things with Orion here, it could be unconventional, functional or whatever you would like. I'd love to write some tutorials for this but sort of need specific requests I think it's easier to write tutorials that way. Also if you know of any existing tutorials on other sites feel free to drop a link in here and we will add it to the repo.

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.