[App Idea] App to update angelist status from twitter

48 views
Skip to first unread message

Ashish (Pocha) Sharma

unread,
Jan 12, 2012, 6:43:28 AM1/12/12
to ninj...@googlegroups.com
Hi all,

 This mail comes as a result of quite a few 'idea related' mails floating in the group offlate.

Purpose of the email :-

 
1. To post one of my ideas which I plan to put open source for many reasons - one being - I cant fund it. The idea comes from one of my needs, details below.

 2. To provide a template to all the idea guys on what I think can make the proposal lucrative to devs/Ninjas.

 
Idea :-

 
Offlate I am getting lot of requests/proposals from AngelList - www.angel.co . It connects entrepreneurs to Investors (particularly angel investors). It is a site maintained by 2 indians who are pretty well known in US entrepreneurship community - Naval & Nivi.

  AngelList lets you create a profile of your startup & then update the status to keep all startup followers (typically investors) know of whats happening. Stalk ninja profile is here - http://angel.co/stalk-ninja . Unfortunately, AngelList is not popular among dev community & I dont see an app to update the status.

  What I have done is - I have attached my twitter account to facebook & linkedin, so whenever I update twitter status of my (@pocha) & stalk ninja account - the respective fb profile/page & my linkedin gets updated too. I use selective tweet which lets me do the coupling. It does so by looking at hashtag #fb for facebook & #in for linkedin in the tweet. The tech guys might have a crude algo ready by now as to how it wud hv been doing.

  The actual idea is - to do something similar by coupling twitter & angelList. Both have their APIs & you can have a hashtag like #ag .

Benefits :-

 
1. If you dont know - an app like this - is called a startup in US :). It does not have to make money but if you have decent traction & usage, you might like to take it forward in future.

 2. You get to do some real web app dev under my guidance. I would be the avid user & tester for you. Having said that - its your app & you have to take the dev responsibility.

 3. Make it open source. This is counter-intuitive to lot of first time app builders & biz guys, but power of open source is lot bigger than closed source apps. You get a community to do features for you. Also, just developing an app is not the way to monetize, its maintaining it, taking phone calls, responding to emails - which is what makes it a business. Dont believe me ? ask the wordpress creator & as matter of fact - check www.plivo.com - another promising startup whom I know & who look to disrupt cloud telephony with their open source offering.

Action Items :-

 
If you are interested to build this app, you dont have to tell me that you are interested. Its you who would be in-charge, not me. Having a team of Ninjas doing it (one guy maintaining & others doing feature addition) is prefect way of doing it. Here is what you should do :-

 1. Start writing some basic code, upload it on github & pass on the url back as the thread explaining how you plan to implement.

  There is no 2nd point here :).

What you get from me :-

 
1. I have a amazon micro instance & we can host your app there. I would give you ssh rights. I can also help you create your own free for an year amazon micro instance & host the stuff there. You would need a credit card & I would give you mine.

 2. If anybody completes the action item - this could be the 1st free open source project posting that I would do on stalk ninja. Because of increased traffic of regular project, the open source project model has been on back burner.

 3. I would be a consultant, user, tester & debugger for this app.

 4. If it looks promising, I can write to the angelList guys. If they like it & share it .. well - you should become a celebrity but no promises on this :). IMHO - this could be the first angelList app that somebody would get to build.

 P.S. - respond to the group only if it is necessary. If it is a query, just respond to me & not flood the group.

 I hope all the biz guys with an idea would take a note of how to pitch your idea to devs if you do not have money to get it build.


--


Ashish (Pocha) Sharma,
Stalk Ninja - Connecting senior hackers to college hackers 'meaningfully'
+91 95 3838 4545 LinkedIn Twitter

Ashish (Pocha) Sharma

unread,
Jan 13, 2012, 1:36:49 AM1/13/12
to ninj...@googlegroups.com
A friend has pointed to http://ifttt.com . It can help creating the twitter angelList app, although you might need to write your own oAuth/action items.


Ashish (Pocha) Sharma,
Stalk Ninja - Connecting senior hackers to college hackers 'meaningfully'
+91 95 3838 4545 LinkedIn Twitter

roshan

unread,
Jan 13, 2012, 1:35:24 AM1/13/12
to ninja-clan
Super..Loved the detailed explanation and plan of action. Thanks


On Jan 12, 4:43 pm, "Ashish (Pocha) Sharma" <po...@stalkninja.com>
wrote:
> Hi all,
>  This mail comes as a result of quite a few 'idea related' mails floating in the group offlate.Purpose of the email :-
>  1. To post one of my ideas which I plan to put open source for many reasons - one being - I cant fund it. The idea comes from one of my needs, details below.
>  2. To provide a template to all the idea guys on what I think can make the proposal lucrative to devs/Ninjas.
>  Idea :-
>  Offlate I am getting lot of requests/proposals from AngelList -www.angel.co. It connects entrepreneurs to Investors (particularly angel investors). It is a site maintained by 2 indians who are pretty well known in US entrepreneurship community - Naval & Nivi.
>   AngelList lets you create a profile of your startup & then update the status to keep all startup followers (typically investors) know of whats happening. Stalk ninja profile is here -http://angel.co/stalk-ninja. Unfortunately, AngelList is not popular among dev community & I dont see an app to update the status.
>   What I have done is - I have attached my twitter account to facebook & linkedin, so whenever I update twitter status of my (@pocha) & stalk ninja account - the respective fb profile/page & my linkedin gets updated too. I use selective tweet which lets me do the coupling. It does so by looking at hashtag #fb for facebook & #in for linkedin in the tweet. The tech guys might have a crude algo ready by now as to how it wud hv been doing.
>   The actual idea is - to do something similar by coupling twitter & angelList. Both have their APIs & you can have a hashtag like #ag .Benefits :-
>  1. If you dont know - an app like this - is called a startup in US :). It does not have to make money but if you have decent traction & usage, you might like to take it forward in future.
>  2. You get to do some real web app dev under my guidance. I would be the avid user & tester for you. Having said that - its your app & you have to take the dev responsibility.
>  3. Make it open source. This is counter-intuitive to lot of first time app builders & biz guys, but power of open source is lot bigger than closed source apps. You get a community to do features for you. Also, just developing an app is not the way to monetize, its maintaining it, taking phone calls, responding to emails - which is what makes it a business. Dont believe me ? ask the wordpress creator & as matter of fact - checkwww.plivo.com- another promising startup whom I know & who look to disrupt cloud telephony with their open source offering.Action Items :-
>  If you are interested to build this app, you dont have to tell me that you are interested. Its you who would be in-charge, not me. Having a team of Ninjas doing it (one guy maintaining & others doing feature addition) is prefect way of doing it. Here is what you should do :-
>  1. Start writing some basic code, upload it on github & pass on the url back as the thread explaining how you plan to implement.
>   There is no 2nd point here :).What you get from me :-
>  1. I have a amazon micro instance & we can host your app there. I would give you ssh rights. I can also help you create your own free for an year amazon micro instance & host the stuff there. You would need a credit card & I would give you mine.
>  2. If anybody completes the action item - this could be the 1st free open source project posting that I would do on stalk ninja. Because of increased traffic of regular project, the open source project model has been on back burner.
>  3. I would be a consultant, user, tester & debugger for this app.
>  4. If it looks promising, I can write to the angelList guys. If they like it & share it .. well - you should become a celebrity but no promises on this :). IMHO - this could be the first angelList app that somebody would get to build.
>  P.S. - respond to the group only if it is necessary. If it is a query, just respond to me & not flood the group.
>  I hope all the biz guys with an idea would take a note of how to pitch your idea to devs if you do not have money to get it build.--
> Ashish (Pocha) Sharma,Stalk Ninja- Connecting senior hackers to college hackers 'meaningfully'
> +91 95 3838 4545LinkedInTwitter

Utkarsh

unread,
Jan 16, 2012, 5:04:40 AM1/16/12
to ninj...@googlegroups.com
I attempted this a few days ago. Here's the current state - https://github.com/utkarshkukreti/twitter-angellist-bridge

## What's left
- Create a rake task that fetches the latest tweets of a user (that it already hasn't scanned; store last tweet scanned in the users table), and post tweets containing #ag to angellist. This task will be run every 10 minutes using a cron job. All credentials are present in the users table, and the gems required are present too.
- Improve UI

Feel free to fork the repo and start working. I'll try to review the code if you ping me on github.

Ashish (Pocha) Sharma

unread,
Feb 8, 2012, 10:10:26 AM2/8/12
to ninj...@googlegroups.com
Hi guys,

 Finally I got time to work on the twitter angellist app which Utkarsh has started doing sometime back (new guys, please refer the thread below).

 Since Utkarsh was too concise with his email (not his fault, he might not realize that stalk ninja has more newbies than pros), I thought of setting it all up & doing changes myself.  If anybody is interested to contribute (there are couple of things needed here on), please read on. This is a good opportunity to learn some ruby on rails, git, working with github, deploying to heroku etc.

 1. Utkarsh has his repo (shortform for repository) at https://github.com/utkarshkukreti/twitter-angellist-bridge . Ideally Utkarsh could have added me as a contributor to his repo, but since he was unavailable, I made my own repo at https://github.com/pocha/hashag/ . 'hashag' or 'hashAg' (actually #ag) is the codename of this project going ahead.

 2. Its an open repo. Install git on your PC & clone a copy of the repository. Absolute newbie would need sometime getting used to git here.

 3. This is an app build on Rails. But the handicap is - this app cant run on your PC (or localhost). The app needs to authenticate with twitter & angellist. There is something called oAuth & these guys need to send back a token back to your app. Running an app on localhost makes it impossible (for newbies - its like nobody can reach your PC from outside your local intranet).

       You need to deploy it on a public server. This brings in the story - where are free rails server. Heroku is the most popular choice & Utkarsh has chosen the same. I am heroku newbie but my past 2 days working with it made me fell in love with it. The startup deserve every single penny they have raised as investment.
       
       Coming to the point - you need to learn how to deploy this code on heroku. I have deployed it at http://blooming-frost-6120.herokuapp.com/ . You need to get rails installed on your PC now. I have put heroku gem in the gemfile. Once you get rails on your PC, launch the rails terminal, migrate to the app folder & run 'bundle install'. It would install all the dependencies for the project (including heroku).

  4. Look around the code as it is time to do some real coding. Check the list of features below & if you are able to figure out how to implement one/some of them, ping me & I would add you as contributor on heroku, so that you can deploy the updated code directly on my heroku server.

  Current implementation :-

   
1. You need to have a twitter & angellist (angel.co) account to be able to use the app. Register at both places. Create a temp startup in your angellist account.

     2. Go to http://blooming-frost-6120.herokuapp.com/ , authenticate with your twitter & then angellist. Get your startup id from your domain (mine is stalkninja.com).

     3. Now go to twitter & tweet from your account with '#ag' in it. Come back to the app, hit on 'Check & publish my tweets to angellist'. The app would fetch the tweets &  would publish it on your startup profile.

    Going ahead :-

   
1. Now, I just wrote the code to check the last tweet of the user with #ag . Fetching again would repeat the tweet. This is wrong. The tweets have an id (something like a timestamp) & you can search the tweet with 'since_id' - http://rubydoc.info/gems/twitter/Twitter/Client/Search . Basically everytime the code checks for tweets, it should record the latest id of the tweet in 'since_id' field in database so that next time, the code would only check from that 'since_id'. The code is in 'app/controller_tweets_controller.rb'
 
     2. Once point 1 is done, this fetching & publishing needs to be automated. This can be done using a rake task.

     3. We need to give a nice UI for it to be usable by general audience. Bootstrap css framework from twitter would be awesome to use. This is lowest in priority though.


   For complete newbies :-

   
I am sure there are quite a few guys who are not confident enough to contribute straight away. But looking to learn. You should get the code & install the app on your own server to learn it first. Here is what you should do.

     1. As said above, get the code using git, install rails on your PC etc.

     2. Get yourself an account at http://heroku.com . Come back to your rails code base directory. Do 'heroku login' & pass your details. Follow http://devcenter.heroku.com/articles/git & it would create your own app with an awesome name (mine is blooming-frost-6120).

    3. The app authenticates via twitter & angellist. You need to create your apps at http://dev.twitter.com/apps & http://angel.co/api -> Your Apps . The 'callback url' is important. This is the url to which twitter/angellist sends you oauth token back. My callback url is http://blooming-frost-6120.herokuapp.com/auth/twitter/callback for twitter &  http://blooming-frost-6120.herokuapp.com/auth/angellist/callback for angellist. You need to specify yours according to your url.

   4. Come back to your rails app home directory. Add keys & secret of your twitter & angellist apps as
    
           heroku config:add RAILS_ENV=development TWITTER_KEY=<xxx> TWITTER_SECRET=<xxx> ANGELLIST_KEY=<xxx> ANGELLIST_SECRET=<xxx>
    
    These values will be used in config/initializers/omniauth.rb .

  5. Do 'git push heroku' for the app to be deployed & launch on heroku. Once you are at this point, you are good to start reading the code to see if any of the points in 'Going ahead' makes sense.
    
   
  Lets take the app to the next level. Happy learning :).




Ashish (Pocha) Sharma,
Stalk Ninja - Connecting senior hackers to college hackers 'meaningfully'
+91 95 3838 4545 LinkedIn Twitter

--
Stalk Ninja fb page - http://www.facebook.com/pages/Stalk-Ninja/139273162793864
Stalk Ninja on twitter - http://twitter.com/stalkninja
 
You received this message because you are subscribed to the Google
Groups "ninja-clan" group.
To post to this group, send email to ninj...@googlegroups.com
To unsubscribe from this group, send email to
ninjaclan+...@googlegroups.com

sahilsk

unread,
Feb 14, 2012, 12:59:34 PM2/14/12
to ninja-clan

hi,
I've succeeded in deploying hashtag app at this url:
http://young-river-7112.herokuapp.com/
So, far no issues.

Sorry for the initial problems. Actually i was not using heroku cedar
stack for this app.


regards
sonu kumar



On Feb 8, 8:10 pm, "Ashish (Pocha) Sharma" <po...@stalkninja.com>
wrote:
> Hi guys,
>  Finally I got time to work on the twitter angellist app which Utkarsh has started doing sometime back (new guys, please refer the thread below).
>  Since Utkarsh was too concise with his email (not his fault, he might not realize that stalk ninja has more newbies than pros), I thought of setting it all up & doing changes myself.  If anybody is interested to contribute (there are couple of things needed here on), please read on.This is a good opportunity to learn some ruby on rails, git, working with github, deploying to heroku etc.
>  1. Utkarsh has his repo (shortform for repository) athttps://github.com/utkarshkukreti/twitter-angellist-bridge. Ideally Utkarsh could have added me as a contributor to his repo, but since he was unavailable, I made my own repo athttps://github.com/pocha/hashag/. 'hashag' or 'hashAg' (actually #ag) is the codename of this project going ahead.
>  2. Its an open repo. Install git on your PC & clone a copy of the repository. Absolute newbie would need sometime getting used to git here.
>  3. This is an app build on Rails. But the handicap is - this app cant run on your PC (or localhost). The app needs to authenticate with twitter & angellist. There is something called oAuth & these guys need to send back a token back to your app. Running an app on localhost makes it impossible (for newbies - its like nobody can reach your PC from outside your local intranet).
>        You need to deploy it on a public server. This brings in the story - where are free rails server. Heroku is the most popular choice & Utkarsh has chosen the same. I am heroku newbie but my past 2 days working with it made me fell in love with it. The startup deserve every single penny they have raised as investment.
>
>        Coming to the point - you need to learn how to deploy this code on heroku. I have deployed it athttp://blooming-frost-6120.herokuapp.com/. You need to get rails installed on your PC now. I have put heroku gem in the gemfile. Once you get rails on your PC, launch the rails terminal, migrate to the app folder & run 'bundle install'. It would install all the dependencies for the project (including heroku).
>   4. Look around the code as it is time to do some real coding. Check the list of features below & if you are able to figure out how to implement one/some of them, ping me & I would add you as contributor on heroku,so that you can deploy the updated code directly on my heroku server.
>  Current implementation :-
>    1. You need to have a twitter & angellist (angel.co) account to be able to use the app. Register at both places. Create a temp startup in your angellist account.
>      2. Go tohttp://blooming-frost-6120.herokuapp.com/, authenticate with your twitter & then angellist. Get your startup id from your domain (mine is stalkninja.com).
>      3. Now go to twitter & tweet from your account with '#ag' in it. Come back to the app, hit on 'Check & publish my tweets to angellist'. The app would fetch the tweets &  would publish it on your startup profile.
>    Going ahead :-
>    1. Now, I just wrote the code to check the last tweet of the user with #ag . Fetching again would repeat the tweet. This is wrong. The tweets have an id (something like a timestamp) & you can search the tweet with 'since_id' -http://rubydoc.info/gems/twitter/Twitter/Client/Search. Basically everytime the code checks for tweets, it should record the latest id of the tweet in 'since_id' field in database so that next time, the code would only check from that 'since_id'. The code is in 'app/controller_tweets_controller.rb'
>
>      2. Once point 1 is done, this fetching & publishing needs to be automated. This can be done using a rake task.
>      3. We need to give a nice UI for it to be usable by general audience. Bootstrap css framework from twitter would be awesome to use. This is lowest in priority though.
>    For complete newbies :-
>    I am sure there are quite a few guys who are not confident enough to contribute straight away. But looking to learn. You should get the code & install the app on your own server to learn it first. Here is what you should do.
>      1. As said above, get the code using git, install rails on your PC etc.
>      2. Get yourself an account athttp://heroku.com. Come back to your rails code base directory. Do 'heroku login' & pass your details. Followhttp://devcenter.heroku.com/articles/git& it would create your own app with an awesome name (mine is blooming-frost-6120).
>     3. The app authenticates via twitter & angellist. You need to create your apps athttp://dev.twitter.com/apps&http://angel.co/api-> Your Apps . The 'callback url' is important. This is the url to which twitter/angellist sends you oauth token back. My callback url ishttp://blooming-frost-6120.herokuapp.com/auth/twitter/callbackfor twitter & http://blooming-frost-6120.herokuapp.com/auth/angellist/callbackfor angellist. You need to specify yours according to your url.
>    4. Come back to your rails app home directory. Add keys & secret of your twitter & angellist apps as
>
>            heroku config:add RAILS_ENV=development TWITTER_KEY=<xxx> TWITTER_SECRET=<xxx> ANGELLIST_KEY=<xxx> ANGELLIST_SECRET=<xxx>
>
>     These values will be used in config/initializers/omniauth.rb .
>   5. Do 'git push heroku' for the app to be deployed & launch on heroku. Once you are at this point, you are good to start reading the code to see if any of the points in 'Going ahead' makes sense.
>
>
>   Lets take the app to the next level. Happy learning :).
> Ashish (Pocha) Sharma,Stalk Ninja- Connecting senior hackers to college hackers 'meaningfully'+91 95 3838 4545begin_of_the_skype_highlighting            +91 95 3838 4545      LinkedInTwitter
> On 01/16/2012 03:34 PM, Utkarsh wrote:I attempted this a few days ago. Here's the current state -https://github.com/utkarshkukreti/twitter-angellist-bridge
>
>
>
> ## What's left
>
> - Create a rake task that fetches the latest tweets of a user (that it already hasn't scanned; store last tweet scanned in the users table), and post tweets containing #ag to angellist. This task will be run every 10 minutes using a cron job. All credentials are present in the users table, and the gems required are present too.
>
> - Improve UI
>
>
>
> Feel free to fork the repo and start working. I'll try to review the code if you ping me on github.
>
> --
> Stalk Ninja fb page -http://www.facebook.com/pages/Stalk-Ninja/139273162793864
> Stalk Ninja on twitter -http://twitter.com/stalkninja
>
> You received this message because you are...
>
> read more »

Ashish Sharma

unread,
Feb 14, 2012, 1:28:52 PM2/14/12
to sonu...@gmail.com, ninja-clan

Nice. Can you quickly mention what was the problem (remember it was something to do with windows) & how you countered it. Couple of other windows guys also trying & it might help them.

Also, what is the next thing you want to do?  Put up 'since_id' support or doing the rake task?  If you have anything else to suggest feel free.

sent on the go. plz ignore typos.

Ashish Sharma
stalkninja.com - enabling access to college hackers
+91 9538384545

sonu kumar

unread,
Feb 15, 2012, 12:15:06 AM2/15/12
to Ashish Sharma, ninja-clan
Deploying on Heroku platform:
 These are the steps i followed to pull hashtag from git and deploying it onto heroku platform
# close hastag repository to your local pc
            git clone https://github.com/pocha/hashag.git
  -> It'll download the hashtag app from git repo.
# Move inside hashtag repo
# Install heroku gem if not already installed
  -> gem install heroku
# Create heroku url for for your new app
 -> heroku create --stack cedar
Creating severe-mountain-793... done, stack is cedar
http://severe-mountain-793.herokuapp.com/ | g...@heroku.com:severe-mountain-793.git
Git remote heroku added


Note the url and the git repository path it gives.
#push hashtag app into the heroku aforementioned repository
 git push heroku master

 heroku rake db:migrate
#it will create database on the heroku server. Only schema/tables/

  heroku db:push 
#it will push all your database tables entries on heroku server. (All tuples)


  heroku open
# it will open the url in new browser window


x)Once done, see,if you can see your app. It should be there but it won't be working as you need to setup keys/secret of twitter and angelist in the application config file
 Set their keys/secrets in environment variable. On heroku platform you can do this with config:add
Callback urls used:

Angellist:    http:// yOUR_HEROKUAPP_URL /auth/angellist/callback
heroku config:add RAILS_ENV=development TWITTER_KEY=xxx TWITTER_SECRET=xxx ANGELLIST_KEY=xxx ANGELLIST_SECRET=xxx

Verify them:
heroku config

Now, refresh the page . It should working. 
Once done, you're good to go.

@ashish sharma, 
  Sorry to repeat , but could you please elaborate once again, what exactly is the idea? Does this app has to post updates from angellist to twitter or from twitter to angllist?

regards
sahil

sonu kumar

unread,
Feb 15, 2012, 12:17:50 AM2/15/12
to Ashish Sharma, ninja-clan
for more heroku commands  you can visit this blog: http://fourthslap.blogspot.in/2011/04/ror-heroku-deployment.html

regards
sahil
                        ...... "'free' as in free speech, not as in 'free beer'."
                                                                                   --RMS.

Ashish (Pocha) Sharma

unread,
Feb 15, 2012, 2:57:03 AM2/15/12
to ninj...@googlegroups.com
Hey thanks for taking time to document your steps. I remember that as I suggested to run 'bundle install' in the rails repository - it did not work for you as one gem is only supported in linux/unix based systems. So I suggested you to just do 'gem install heroku' & simply push the app to heroku. The heroku would do its own bundle install when the app is deployed. Right ?

As for the work - I want to automate publishing of my tweets with #ag hashtag to my angellist startup status. I have written to AngelList guys to see if they can provide a test AngelList profile & a test startup. I would publish those details so that all the contributors can test the app with those credentials. I hope all of you guys can have your own twitter account.

Btw - I tested your app & it works fine. Suggest what is the next thing you look to take up.

In case you look to catch up with me, add me on gtalk with the stalk ninja id or join the irc channel ##sn on freenode. You would always find me & Utkarsh in the channel whenever we are online.


Ashish (Pocha) Sharma,
Stalk Ninja - Connecting senior hackers to college hackers 'meaningfully'
+91 95 3838 4545 LinkedIn Twitter

Ashish (Pocha) Sharma

unread,
Feb 17, 2012, 9:16:06 AM2/17/12
to ninja-clan
For those who are trying the project & got back to me for a dummy
AngelList account to test. Below are the details :-

For angellist login - test+a...@stalkninja.com test123
Domain of startup - test-account.com .

These two things would help you test the app yourself. I guess you can
anyway signup on twitter (if you have not).

Ashish


On Feb 15, 12:57 pm, "Ashish (Pocha) Sharma" <po...@stalkninja.com>
wrote:
> Hey thanks for taking time to document your steps. I remember that as I suggested to run 'bundle install' in the rails repository - it did not work for you as one gem is only supported in linux/unix based systems. So I suggested you to just do 'gem install heroku' & simply push the app to heroku. The heroku would do its own bundle install when the app is deployed. Right ?
> As for the work - I want to automate publishing of my tweets with #ag hashtag to my angellist startup status. I have written to AngelList guys to see if they can provide a test AngelList profile & a test startup. I would publish those details so that all the contributors can test the app with those credentials. I hope all of you guys can have your own twitter account.
> Btw - I tested your app & it works fine. Suggest what is the next thing you look to take up.
> In case you look to catch up with me, add me on gtalk with the stalk ninja id or join the irc channel ##sn on freenode. You would always find me & Utkarsh in the channel whenever we are online.
> Ashish (Pocha) Sharma,Stalk Ninja- Connecting senior hackers to college hackers 'meaningfully'
> +91 95 3838 4545LinkedInTwitter
> On 02/15/2012 10:45 AM, sonu kumar wrote:Deploying on Heroku platform:
>
>  These are the steps i followed to pull hashtag from git and deploying it onto heroku platform
> # close hastag repository to your local pc            git clonehttps://github.com/pocha/hashag.git  -> It'll download the hashtag app from git repo.
> # Move inside hashtag repo
> # Install heroku gem if not already installed
>   ->gem install heroku
> # Create heroku url for for your new app
>  ->heroku create --stack cedarCreating severe-mountain-793... done, stack is cedarhttp://severe-mountain-793.herokuapp.com/|g...@heroku.com:severe-mountain-793.git
> Git remote heroku added
> Note the url and the git repository path it gives.#push hashtag app into the heroku aforementioned repository
>
>  git push heroku master
>
>
>
>  heroku rake db:migrate
>
> #it will create database on the heroku server. Only schema/tables/
>
>
>
>   heroku db:push
>
> #it will push all your database tables entries on heroku server. (All tuples)
>
>
>
>
>
>   heroku open
>
> # it will open the url in new browser window
>
>
>
>
>
> x)Once done, see,if you can see your app. It should be there but it won't be working as you need to setup keys/secret of twitter and angelist in the application config file
>
>  Set their keys/secrets in environment variable. On heroku platform you can do this withconfig:add
>
> Callback urls used:
>
> twitter:   http://yOUR_HEROKUAPP_URL/auth/twitter/callback
>
>
>
> Angellist:    http:// yOUR_HEROKUAPP_URL /auth/angellist/callback
>
> heroku config:add RAILS_ENV=development TWITTER_KEY=xxx TWITTER_SECRET=xxx ANGELLIST_KEY=xxx ANGELLIST_SECRET=xxx
>
>
>
> Verify them:
>
> heroku config
>
>
>
> Now, refresh the page . It should working.
>
> Once done, you're good to go.
>
>
>
> @ashish sharma,
>
>   Sorry to repeat , but could you please elaborate once again, what exactly is the idea? Does this app has to post updates from angellist to twitter or from twitter to angllist?
>
>
>
> regards
>
> sahil
>
>
>
>
>
>
> On Tue, Feb 14, 2012 at 11:58 PM, Ashish Sharma <po...@stalkninja.com> wrote:
> > Nice. Can you quickly mention what was the problem (remember it was
> > something to do with windows) & how you countered it. Couple of other
> > windows guys also trying & it might help them.
> >
> > Also, what is the next thing you want to do?  Put up 'since_id' support or
> > doing the rake task?  If you have anything else to suggest feel free.
> >
> > sent on the go. plz ignore typos.
> >
> > Ashish Sharma
> >stalkninja.com- enabling access to college hackers
> > +91 9538384545
> >
> > On 14-Feb-2012 11:51 PM, "sahilsk" <sonu...@gmail.com> wrote:
> >>
> >>
> >> hi,
> >>  I've succeeded in deploying hashtag app at this url:
> >>http://young-river-7112.herokuapp.com/
> >> So, far no issues.
> >>
> >> Sorry for the initial problems. Actually i was not using heroku cedar
> >> stack for this app.
> >>
> >>
> >> regards
> >> sonu kumar
> >>
> >>
> >>
> >> On Feb 8, 8:10 pm, "Ashish (Pocha) Sharma" <po...@stalkninja.com>
> >> wrote:
> >> > Hi guys,
> >> >  Finally I got time to work on the twitter angellist app which Utkarsh
> >> > has started doing sometime back (new guys, please refer the thread below).
> >> >  Since Utkarsh was too concise with his email (not his fault, he might
> >> > not realize that stalk ninja has more newbies than pros), I thought of
> >> > setting it all up & doing changes myself.  If anybody is interested to
> >> > contribute (there are couple of things needed here on), please read on.This
> >> > is a good opportunity to learn some ruby on rails, git, working with github,
> >> > deploying to heroku etc.
> >> >...
>
> read more »

Ashish (Pocha) Sharma

unread,
Feb 23, 2012, 9:05:22 AM2/23/12
to ninj...@googlegroups.com, Utkarsh Kukreti, sonu kumar
The app is officially up on heroku - http://hashag.com

Thanks to Utkarsh, Sonu & couple of other guys who helped in testing. If you want to test, use test+a...@stalkninja.com test123 as angellist login. Use cottonslate.com not test-account.com as domain . Angellist only allows 10 updates per day per startup & I think I have already used up 3-4, so only 5-6 updates would be left for today. Go ahead, use them up too :).

A UI would be needed going ahead. Anybody ? I can guide about using bootstrap etc, would be a good learning experience for someone looking to put hands on integrating a css framework with a rails project. Even I have not done it before, so it would be good enough work for both of us.


Ashish (Pocha) Sharma,
Stalk Ninja - Connecting senior hackers to college hackers 'meaningfully'
+91 95 3838 4545 LinkedIn Twitter

Ashish (Pocha) Sharma

unread,
Feb 28, 2012, 2:55:46 AM2/28/12
to ninja-clan
Thanks to a dev-who-did-not-like-to-be-named for doing the UI for the
app. The guy has used bootstrap rails gem https://github.com/seyhunak/twitter-bootstrap-rails.
We sat together & did the UI in just half a day. Check the new look at
http://hashag.com .

The readme at https://github.com/pocha/hashag is updated for more to-
dos. They mostly relate to error handling in rails. Not too advanced
stuff but I am myself unaware of practices. Could be good fun &
learning for both the dev & me. Ping me if you want to contribute. Pre-
requisite - setup the app on heroku yourself, the instructions are in
the readme of https://github.com/pocha/hashag .

Ashish
Reply all
Reply to author
Forward
0 new messages