These are chat archives for quorrajs/quorrajs

27th
Jun 2016
maq
@maqboolkhan
Jun 27 2016 09:59
thanks @harishanchu u r awesome i can see your dedication with quorra :)
actually i am writing HTML Collective of laravel like thing for quorra
maq
@maqboolkhan
Jun 27 2016 10:09
and i really love how laravel made auth variable available in views template so m implementing for Quorra :)
Harish
@harishanchu
Jun 27 2016 10:16
@maqboolkhan Thanks mate.
maq
@maqboolkhan
Jun 27 2016 10:16
just one more thing why not add .gitignore in quorra generator
^ quick suggestion
Harish
@harishanchu
Jun 27 2016 10:19
Actually there is ignore files in all projects
Which project did you mean?
maq
@maqboolkhan
Jun 27 2016 10:20
no no you did not get me
.gitnore in scaffold
means project root

im using this as my root gitiigonre file

node_modules
xunit.xml
npm-debug.log

.project
.idea

.DS_Store*
Thumbs.db

.tmp
.foreverignore
/app/storage

Harish
@harishanchu
Jun 27 2016 10:22
It's there in project, please see: https://github.com/quorrajs/Quorra
maq
@maqboolkhan
Jun 27 2016 10:26
:worried:
@harishanchu i just created new app with
'quorra ride app'
n there was no .gitignore
i have double chk but still no gitignore
Harish
@harishanchu
Jun 27 2016 10:46
ah
that is because it will be ignored when we publish project to npm
Ignore file we use in quorra is only for the purpose of development of framework
Harish
@harishanchu
Jun 27 2016 10:51
Users can initiate their on git project and add git ignore files
maq
@maqboolkhan
Jun 27 2016 11:06
ohhhh

@harishanchu i have created a custom service provide in

app/providers/Vawy

but when i include it in app/config/app.js
array it keep throwing module not found
Harish
@harishanchu
Jun 27 2016 11:11
Note: To register your custom service provider, provide absolute path of your service provider file in the providers array. To register a custom npm Quorra service provider module you can just use the module name in the providers array.
maq
@maqboolkhan
Jun 27 2016 11:11
../app/ ?
is also not working
Harish
@harishanchu
Jun 27 2016 11:12
Not like that
maq
@maqboolkhan
Jun 27 2016 11:12
then please tell
Harish
@harishanchu
Jun 27 2016 11:12
Use path module to resolve service provider path
maq
@maqboolkhan
Jun 27 2016 11:13
ohhhhh
Harish
@harishanchu
Jun 27 2016 11:20
Got it working?
maq
@maqboolkhan
Jun 27 2016 11:20
m still trying will ping u back in a minute
Harish
@harishanchu
Jun 27 2016 11:21
I am actually travelling now
maq
@maqboolkhan
Jun 27 2016 11:21
ok @harishanchu just some second
and if u r busy dont worry i will ping u later :)
thanks for ur all suppor
t
Harish
@harishanchu
Jun 27 2016 11:22
I will get back to u when I reach dest
maq
@maqboolkhan
Jun 27 2016 11:22
ok ok
Harish
@harishanchu
Jun 27 2016 11:22
:+1:
maq
@maqboolkhan
Jun 27 2016 11:40

im adding in array like this

path.resolve("../", "app/providers/VawyServiceProvider"),

it throws

Error: Cannot find module

here is my VawyServiceprovider

var ServiceProvider = require('@positron/support').ServiceProvider;

var VawyServiceProvider = ServiceProvider.extend(function(app) {
    this.__app = app;
});

VawyServiceProvider.prototype.register = function (done) {
    this.__app.foo = "fohad";
    done();
}