fossasia / loklak_webclient

loklak web application
http://loklak-web.herokuapp.com
MIT License
1.56k stars 49 forks source link

getting problems with running webclient locally. #574

Closed SilentFlame closed 8 years ago

SilentFlame commented 8 years ago

Home page works fine. pic01 some problem with the report page. pic02 Twitter walls are empty every other times I visit this. pic03 No idea whats going on the connect page. pic04

Please help me to get going. any sort of help appriciated.

aneeshd16 commented 8 years ago

You also need to have the loklak server running

SilentFlame commented 8 years ago

@aneeshd16 doesn't the gulp-dev runs one server for itself?

Let me try once. Thanks

SilentFlame commented 8 years ago

@aneeshd16 do I need to change the port for loklak_server?

aneeshd16 commented 8 years ago

Have you made a custom_configFile.json? That file should contain all configuration options including server urls and ports. If you make a copy of configFile.json, it should have the correct default values.

SilentFlame commented 8 years ago

ya I do made it, that's why the webclient is running that way I guess.

SilentFlame commented 8 years ago

@aneeshd16 what are the fields which I need to change in the custom_configFile.json . coz now the home page is too not opening properly.

aneeshd16 commented 8 years ago

From the docs:

Create an twitter application at https://apps.twitter.com, remember to set the correct website url & callback url (for localhost, http://127.0.0.1/ works better), then modify custom_configFile.json:

  1. Set the twitterConsumerKey var in custom_configFile.json to set the Consumer Key (API Key) from your Twitter app
  2. Set the twitterConsumerSecret var in custom_configFile.json to set the Consumer Secret from your Twitter app A twitter app is valid only for a domain (defined when creating the app). So the credentails above need to be changed also according to the domain (e.g. you'll need to create 2 twitter apps separately for a clone in localhost and for a clone in a remote server)
SilentFlame commented 8 years ago

@aneeshd16 that's all I followed but unable to follow the last point. you'll need to create 2 twitter apps separately for a clone in localhost and for a clone in a remote server what exactly I have to do here?

mariobehling commented 8 years ago

Set up needs to be improved. This will be part of a bigger update of code. Closing this issue therefore.