radiegtya / meteoris2 Goto Github PK
View Code? Open in Web Editor NEWa Realtime Javascript Boilerplate base on Meteor Js Framework
License: MIT License
a Realtime Javascript Boilerplate base on Meteor Js Framework
License: MIT License
There is a package called ryw:blog and it can be added to other meteor projects
Problem with meteoris is you have included collection called posts as standard. When adding ryw:blog it has a conflicting collection that does not play well with posts - they actually match names.
need a way to make records in collections only available to the logged in user who created the records
Are there any problems when using xeditable in the grid? And how can I generate with CSS hover effects in the grid row? Thx for helping!
when adding collections I understand the need for created by, created when, etc but could you make Mugen not show them in the views (4 fields) or should mugen users edit mugen templates before thinking about generation
I have many of recoreds on list view.
how to use pagination and show page option like datatable?
Hi,
I'm trying to add an http crud restpoint for the collections. I'm testing two pakages (xcv58:collection-api and nimble:restivus) with meteroris and I'm obtaining the same error when submitting the HTTP POST:
"Error: Meteor.userId can only be invoked in method calls. Use this.userId in publish functions."
Can you help me?
Thanks
Looks like the two projects are quite similar. MeteorKitchen doesn't have a GUI at the moment, but other than that, it can create menus, forms, components, routes, plugins etc.
The code to loop through and delete checked items seems to have very weak error handling. What happens when one record in many cannot be deleted?
The list of package versions in the README.md is out of date. We need to create an automated way of pulling the correct versions into the README.md (perhaps in a git hook, but that gets into the issue of version controlling hooks which is not as easy as it should be).
I cloned the latest and the navbar is a bit broken (text disappears into a black background).
Looking at the demo http://meteoris.piyiku.biz/
I see a top level div with a class of frontend.
I don't see the class anywhere in the template source
So...
I added this to the 'basic' template and it seems to be fine...
Did I miss something?
I would like to use multiple modules/sub system
like:
loan/
..............
saving/
.............
How to custom structure?
Is there anybody success deploy with mup? I always got error :
-----------------------------------STDERR-----------------------------------
_root_dir=/root/.node-gyp/0.10.36',
gyp info spawn args '-Dmodule_root_dir=/opt/myapp/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 3000: Connection refused
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
I found no problem "mup deploy" with https://github.com/matteodem/meteor-boilerplate and https://github.com/Differential/meteor-boilerplate, using the same mup.json file.
Is there anything missing from me? Please advise.
Thanks.
Is it or will it be used by some part of meteoris?
just asking!
Paul
Meteor supports automatic SASS recompilation but Meteoris does not.
Any future plans to add WYSIWYG editors to the boilerplate?
I'm new to Meteoris, where should a function like isAdmin() go, which would check a user ID? Better yet, is this something that could be included in meteoris? Perhaps isRole('role', '_Id') would be better.
Thanks!
I run Meteoris successfully with :
sudo meteor
It crashes with :
export MONGO_URL=mongodb://someotherserver:27017/meteoris
sudo meteor
The error report is :
/home/yourself/.meteor/packages/meteor-tool/.1.0.45.tyuyjj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:278
throw(ex);
^
Error: failed to connect to [localhost:3001]
at Object.Future.wait (/home/yourself/.meteor/packages/meteor-tool/.1.0.45.tyuyjj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:398:15)
at packages/meteor/helpers.js:119:1
at new FS.StorageAdapter (packages/cfs:storage-adapter/storageAdapter.server.js:252:1)
at new FS.Store.GridFS (packages/cfs:gridfs/gridfs.server.js:46:1)
at app/lib/collections/Images.js:1:53
at app/lib/collections/Images.js:35:3
at /home/yourself/projects/meteoris/.meteor/local/build/programs/server/boot.js:222:10
at Array.forEach (native)
at Function._.each._.forEach (/home/yourself/.meteor/packages/meteor-tool/.1.0.45.tyuyjj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
at /home/yourself/projects/meteoris/.meteor/local/build/programs/server/boot.js:117:5
- - - - -
at [object Object].<anonymous> (/home/yourself/.meteor/packages/cfs_gridfs/.0.0.33.kqwg4v++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
at [object Object].emit (events.js:106:17)
at [object Object].<anonymous> (/home/yourself/.meteor/packages/cfs_gridfs/.0.0.33.kqwg4v++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous> (/home/yourself/.meteor/packages/cfs_gridfs/.0.0.33.kqwg4v++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
at Socket.emit (events.js:95:17)
at net.js:441:14
at process._tickCallback (node.js:442:13)
If there is a known workaround or solution please let me know ASAP:
Generate a new object type using mugen, the try to go to "http://localhost:3000/objecttype" is 404.
This is because the only generated route is to http://localhost:3000/objecttype/index
http://localhost:3000/objecttype should either redirect, or just drop the "/index" altogether.
SASS element divider-or needs to be split into three parts : one pulled left, one centred and one pulled right. The value of the CSS tag "content" needs to be an I18n lookup key.
mugen just changes all collection names to lower case, but sometimes I'd like to use DeviceParameters as the collection name.
Please consider to support this. Thanks.
you should consider some type of "bootstrap3" styling template OR add the less package dependency(SASS Etc). I like LESS because I can change one json file and styles change everywhere
You can type something like "s;;;;;;" for a field name and mugen will generate completely broken code.
Unfortunately, since it's all in one app, the entire thing goes down until the offending code is removed.
why not shift this scaffolding into a yeoman generator such as https://github.com/Pent/generator-meteor ? This way one could use all the benefits of grunt, yo, bower as well. That makes especially sense on the upcoming web components revolution e.g. if one would use Meteor + Polymer for example.
To use Meteoris in a real project is very difficult for one major reason:
Meteoris, mugen, and all the support files are mixed in with the application's files.
In my opinion, all of the base Meteoris code should be in its own, root level subdirectory with all of the "application" code for a particular application in a completely separate, root level directory.
Since Meteor works based on directory names, the correct server, client, and both code will all end up in the same place, but one could merge from the upstream Meteoris project without worrying about overwriting anything in the "application" based on Meteoris.
Alternatively, and ultimately better, Meteoris could be an installable package and, thus, stay completely out of the application's code space.
I keep getting this error on meteor bootup of meteoris and i have latest version of meteor loaded:
Meteor._wrapAsync has been renamed to Meteor.wrapAsync
Everything seems to work fine but ... not sure where you need to change this
Indentation is virtually non-existent in generated code.
Very poor coding, very easily fixed.
Since the schema info could all be saved as data, and generic code used to produce all these views, I'm not even sure this part is worth saving at all...
Great boilerplate.
There's a "Forgot Password" link on the main login page, but it's not hooked up to anything. Is there code somewhere to drive this link I'm not aware of? I'd prefer not to build this out since accounts-entry already has it out of the box.
Thanks!
I would like to request you the backup and restore db tool for Meteoris.
I'd love to share ideas on Trello.
https://trello.com/b/FFRCG833/meteoris-development-board
If this is of interest, let's add it to the README.md and start using it!
Otherwise, I'll just keep it open for my own use, or, did I just miss it and you already set one up?
Hi, i've been using Meteoris and today i encountered a big problem.
I exported my database to mine, instead of the local one i've been using (localhost:3001) and now, the collections that i've created with the Crudss Generator stopped working. Even "Jobs" and "Employees".
When i try to access them, redirects me to 403 forbidden.
All the roles are in the database but those collections aren't. I can login, users collection is working, but i can't even go to users/profile when logged in as admin. I get redirected to page 403 forbidden.
Any ideas on why this is happening? Shouldn't the collections be created the same way?
thanks a lot
Hi,
I'm following the tutorial video here:
3 Meteoris Crudss Generator
https://www.youtube.com/watch?v=mqmoJCMJzEg&index=3&list=PLkq0XDlLyPbA6y51gLeJSnK419PFFgS5M
After I generate the "jobs" collection with the one field named "title", I receive the "Success generating code!" message. I then wait, and enter "http://localhost:3000/jobs" in the address bar of Chrome. I get the message "Sorry. Unable to access that page". I'm using chrome on Windows 8.1.
when I search through my project (I'm using webstorm), the only place where the string "jobs" is found is in a readme.md file and in folder tests\cucumber\features. It's as if the code was never generated...?
Can you help?
Thanks,
Peter De Baets
client/mugen/form.js:
102 var nameMatch = name.match(/^[a-z0-9A-Z]{3,15}$/);
15 is too small for max field name length. Please increase to at least 30.
When creating collections without being logged in, even admin is denied access to the collection.
IOW, if you create a collection when not logged in, the collection is completely inaccessible.
Mongo seems pretty unhappy with dash characters in collection names.
Should be enforced on input.
as with any boilerplate make sure you have not forgotten any fields before you have done any styling changes because the generator will override all your work(just a comment) LOL
First of all thank you much for this very helpful package. Proves invaluable for many beginners like me.
Been testing the demo project and working through the code to understand it. I have few followup questions. Request you to kindly spare few moments to give your valuable pointers:
The scenario is:
Sounds complex, but this is just a typical dashboard functionality of a workflow system. In my research came across the 'power queue' package that sounds reasonably close.
Storing the uploaded files list in MongoDB and tagging each of them with 'processed or not' kind of flag in combination with power queue should achieve this. But being new to JS (coming from C/C++), need some pointers on where to start.
Thanks in advance.
This is first time I am giving try to Meteoris, and I got these errors:
TypeError: Meteor.settings is undefined config.js:17:0
ReferenceError: App is not defined Images.js:8:0
ReferenceError: App is not defined mugenRoleActions.js:1:0
ReferenceError: App is not defined mugenRoleCollections.js:1:0
ReferenceError: App is not defined mugenRoleGroups.js:1:0
ReferenceError: App is not defined router.js:1:0
BTW, I am on windows.
usefull should be useful
base should be based
whats new should be what's new
meteor should be Meteor
I love to see the key points in "Why Meteoris?" listed as an answer instead of questions because developers will want to know the reasons instead of what makes us think.
Hello:
Where do I edit the meta details for the reset password email? I see where I can edit the text but I can't find the "[email protected]" and "How to reset your password on Meteoris" anywhere in the code. Please help.
Thanks,
Nick
Hi,
Thanks for a nice starter app. When you login with admin user, with demo credentials, 403 forbidden error is generated when you click, admin/profile. Thanks.
When creating a new type, mugen automatically adds a blank field at the end of the form:
https://www.dropbox.com/s/tufm6qf4v4ksesv/Screenshot%202014-12-17%2016.55.26.png?dl=0
Pressing "Submit" at this point, leads to generation of improper code as the generator does not properly filter out the third, blank field. This causes the entire app to fail.
Touch a file, and the app restarts, then fails again, endlessly.
The only way out is to manually edit the generated "view.html" file for the new type and remove the broken code.
Meteor._wrapAsync has been renamed to Meteor.wrapAsync
where find Meteor._wrapAsync ??
Hi, when you are in Users / Insert if go Back, you go to Posts/Index page.
Regards,
Axel.
At your DOCUMENTATIONS section you can simply rename the github repo for Meteoris as you clone it. In other words, instead of:
A smoother Git workflow would be:
This renames the repo to myproject.git and automatically inserts it in the right place, which is the myproject directory
If this sounds good to you then will attempt to do a real pull request.
it would be nice if alanning:roles package could be integrated, then front end can be open or available to non-registered users but registered users could be given access to different collections and fields based on role
Hello!
I've been using the app for quite a while now. I noticed that it has a "hasMore" function, which is for pagintation right?
Although i can't get it to work... Where can i set the limit? How can i show only, for example, 3 results and then press a next button to show the next 3 results?
Thank you very much for your help!
Meteoris needs to be started with sudo.
I want to debug meteoris with webstorm. However, I have not found a way how webstorm could start debugging meteoris with sudo.
How could I do that / what is your solution debugging meteoris?
Even though mugen isn't (yet) saving collection information, it seems to be keeping a list of created collections.
If you recreate a collection, that list contains multiple copies of the same collection name.
Steve
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.