telescope

How can create a telescope with migrate

心已入冬 提交于 2020-01-16 03:50:51
问题 I have successfully installed Telescope: C:\Users\USER\p3>php artisan telescope:install Publishing Telescope Service Provider... Publishing Telescope Assets... Publishing Telescope Configuration... Telescope scaffolding installed successfully. However, when I use: php artisan migrate , it says nothing was migrated. I also tried php artisan migrate:fresh , all the table were created but no telescope!! C:\Users\USER\p3>php artisan migrate Nothing to migrate. Please any help? 来源: https:/

Can I use the same DB for multiple Meteor apps?

本秂侑毒 提交于 2019-12-14 03:39:43
问题 Use case: the app I built on app.foo.com , and an instance of telescope on community.foo.com , on separate application servers. The only collection they'd share is users . I would give the same mongo url and oplog url to both apps, and make sure that other than users , collection names did not overlap between the two apps. Should this work fine? Any performance concerns? 回答1: The problem with this is you have to share the collection names. If you use your databases you're also insured against

Override 'Login Forbidden' error message in meteor-useraccounts

你说的曾经没有我的故事 提交于 2019-12-13 20:12:39
问题 I have built a basic Telescope Application. When I enter a wrong password it displays the error message 'Login Forbidden' . I want to change the error message something relevant to the action. Where and what code should I include to make the changes? 回答1: Instead of replacing the Accounts.validateLoginAttempt function, I recommend to configure a mapping via the meteor-accounts-t9n API (assuming you just want to replace the error message): Run meteor add softwarerero:accounts-t9n Add the

Override Schema defined in Telescope(Meteor)

回眸只為那壹抹淺笑 提交于 2019-12-13 02:29:31
问题 I am currently customizing Telescope heavily, which is written in Meteor. I need to go over the 3,000 character defined in Telescope's Posts schema's body defined here in the source. I've been able to customize the HTML and JS, but not the models. How would I do so? 回答1: Just create a file under your lib folder and use the documentation here: http://docs.telescopeapp.org/docs/custom-fields to remove or add fields to that Schema. EDIT : Sorry, but reading carefully your comment I understood

Meteor JS - How to access posts programmatically in Telescope app

半城伤御伤魂 提交于 2019-12-12 04:45:53
问题 I have recently started using Telescope (http://www.telesc.pe/) from the creators of Meteor for a small project. I am just starting to learn about Meteor, and since essentially database / web server and application stack are collapsed into one framework, I'm wondering what the most efficient way is for me to have an external application (for ex: python script) post and access posts/comments from Telescope. Essentially, I'd like a bot to be able to: Create posts Add comments to posts Pull back

Can I use the same DB for multiple Meteor apps?

ⅰ亾dé卋堺 提交于 2019-12-03 13:52:04
Use case: the app I built on app.foo.com , and an instance of telescope on community.foo.com , on separate application servers. The only collection they'd share is users . I would give the same mongo url and oplog url to both apps, and make sure that other than users , collection names did not overlap between the two apps. Should this work fine? Any performance concerns? Akshat The problem with this is you have to share the collection names. If you use your databases you're also insured against Telescope suddenly using a collection name that your other app uses on a future version too. What