Comments (11)
These instructions are pretty good: http://dan-jenkins.co.uk/monocle-on-heroku/
from monocle.
Thanks @Aendrew this is great. Will try to do it on Digital Ocean as well, test the degree of complexity.
from monocle.
Sounds good! I use DO, will be good to know!
For Googlers, one additional point that confused me and isn't covered by the above: After creating a user by logging in via OAuth, you need to run irb -r ./app.rb
— this is done via heroku run "irb -r ./app.rb"
; make sure to include the quotation marks or else the Heroku Toolbelt gets confused. Also, ignore the bit about thin start
, Heroku is already running the server via Unicorn.
from monocle.
Thanks @Aendrew it is installed and running. You can check it out at http://habari-moto.herokuapp.com/ How do I manage the number of invites I can send out as an admin user?
from monocle.
Looks good, @raybesiga!
I'm really not the person to ask; I really have no idea how the admin system works at all.
That said, to add more invites, I've simply been going into the console add running something like (untested):
user = Brisk::Models::User.first
user.invites = 999
user.save
from monocle.
Thanks @Aendrew what is the link to yours? Will try your method and give you feedback. @maccman must be busy doing amazing things but we ought to thank him for this amazing piece of software.
from monocle.
@Aendrew The actual assignment that works is
user.invites_count = 40
user.save
If you check, you should see that you have 40 invites. Only problem is that I am not sure the invitation system actually works!
from monocle.
@raybesiga Ah, yep! Forgot that the attribute is invites_count
, hope that wasn't too difficult to figure out!
re: invitation system not working — nope, sure isn't. See #26.
from monocle.
@Aendrew I need to get it working. Should seek advice from @maccman as I failed to find the invite-less branch..
from monocle.
@raybesiga I need it working too. I'm going to try and spend some time early this week re-forking the existing codebase (My fork is too messy at the moment) and re-adding that.
In the meantime, if you're wanting to re-add it yourself, reference the diff at cdf602d — most of the invite code was removed in that.
from monocle.
You are the best @Aendrew!
from monocle.
Related Issues (20)
- If you edit a comment and then edit it again the second time doesnt show you edit
- Hooks? HOT 1
- Feature Request
- Install on Cloud9 HOT 1
- Add "not now" button when prompted to create a post after login
- Support for text-only entries HOT 3
- Support for categories HOT 3
- Posts are shown twice in the new view.
- what is the name of MVC framework in vendor/javascript dir? HOT 4
- Is there an admin interface? HOT 3
- Invite-only system no longer working HOT 4
- bundle install error HOT 1
- Installing Monocle on Amazon EC2 HOT 1
- Javascript file format HOT 2
- Realtime update of search results on search box change not working in Firefox 32.0.3
- more detailed instructions on Github / Twitter keys?
- assets trying to load from http://assets.example.com/
- assets trying to load from http://assets.example.com/ HOT 1
- Display appropriate error message instead of Sinatra backtrace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monocle.