Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up deployment of loklak_webclient on Heroku #620

Open
mariobehling opened this issue Jan 12, 2017 · 8 comments
Open

Set up deployment of loklak_webclient on Heroku #620

mariobehling opened this issue Jan 12, 2017 · 8 comments

Comments

@mariobehling
Copy link
Member

Currently the main loklak deployment on Heroku is broken. Please set up a deployment on your Heroku account and do the necessary. Once it is working we can do the same for the automatic deployment from the repo.

@palnabarun
Copy link

@mariobehling Can you please explain the issue? Is it regarding adding a script to automatically deploy the application on Heroku?

@abishekvashok
Copy link
Member

@mariobehling, working on it I will send a link of the app once I deploy it to heroku. Then we can move on with automatic deployment.

@abishekvashok
Copy link
Member

@mariobehling giving up, we can't deploy to heroku now, the web-client is not correctlyinstalled, ./install_heroku.sh return random errors after fixing one after other. Further the packages, dependencies used etc are really out of dat. We would nee a great amount of code refractor

@shikhar-scs
Copy link

shikhar-scs commented Dec 15, 2017

Is this still up ? @mariobehling

@mariobehling
Copy link
Member Author

Open for anyone who would like to try.

@shikhar-scs
Copy link

Ok I'm on it

@shikhar-scs
Copy link

shikhar-scs commented Dec 16, 2017

I've followed all the procedures and steps for building the webclient.
i.e setting up the api credentials, the apiURL, the loklak_server here which actually gets built and is working .
next running the node server at iframely, basically all of it.

However, whenever I run gulp dev as the final step I get this error

gulp dev
/home/shikhar/Desktop/fossasiaLoklak/loklak_webclient/node_modules/karma/node_modules/socket.io/lib/store.js:35
Store.prototype.__proto__ = EventEmitter.prototype;
                                         ^

TypeError: Cannot read property 'prototype' of undefined
    at Object.<anonymous> (/home/shikhar/Desktop/fossasiaLoklak/loklak_webclient/node_modules/karma/node_modules/socket.io/lib/store.js:35:42)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/shikhar/Desktop/fossasiaLoklak/loklak_webclient/node_modules/karma/node_modules/socket.io/lib/manager.js:16:13)
    at Module._compile (module.js:635:30)

Also the tests for youtube-scraper are failing everytime

@abishekvashok
Copy link
Member

@Shikhar-CS this is because of old node modules and a new node, updating will lead to other errors though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants