greenscreen
greenscreen copied to clipboard
Is this a clumsy setup?
Hey,
So, node, angular, couchdb is not really my cup of tea (not linux either...), but here's what I did:
- At Cast dev console I created application id and registered my chrome cast devices.
- Started a virtual Ubuntu Unicorn.
- Copied gscreen content to ~/gscreen, cd gscreen
- sudo apt-get install npm
- sudo apt-get install nodejs-legacy
- sudo apt-get install couchdb -y
- sudo npm install (in the gscreen folder)
- sudo npm run create-config
- sudo nano public/js/gscreen-config.js
- Add my chromecastApplicationId
- sudo nano /etc/couchdb/default.ini (set to 5985 because couchdb has 5984 in use already)
- sudo nano config.json (set to 5984).
- sudo couchdb &
- ctrl-c
- sudo npm start
- Ready for testing the gscreen app!
I'm not really happy about step 10-14, not sure how to do this properly (I want couchdb and npm to run as a service/in the background somehow).
It works, but figuring out how the cromecasts, the cast console, the sender and the receiver are working together was a pain...
Anyone knows how to make this setup a more production like setup?
/T
I have dockerized greenscreen and couchdb in my fork of greenscreen which makes setting up easy. If the project maintainers are open to the idea might as well submit a PR here for review. For time being check this out: https://github.com/shreyu86/greenscreen
Sweet! I think...? :)
How does this affect the setup procedure? Could you add some setup instructions for those not familiar with this docker thing, thx! Den 23 sep 2015 18:29 skrev "Shreyas Karnik" [email protected]:
I have dockerized greenscreen and couchdb in my fork of greenscreen which makes setting up easy. If the project maintainers are open to the idea might as well submit a PR here for review. For time being check this out: https://github.com/shreyu86/greenscreen
— Reply to this email directly or view it on GitHub https://github.com/groupon/greenscreen/issues/44#issuecomment-142654718.
@tobefound I will write a tutorial for setting up greenscreen with docker.
Can't wait!! Thx! Den 23 sep 2015 20:20 skrev "Shreyas Karnik" [email protected]:
@tobefound https://github.com/tobefound I will write a tutorial for setting up greenscreen with docker.
— Reply to this email directly or view it on GitHub https://github.com/groupon/greenscreen/issues/44#issuecomment-142686692.
As I said, my setup works but only for a limited time... then something shuts everything down and I have to set the configuration to a different couchdb port.
I want to try out the docker thing or if there's another way to secure a stable running environment.
@tobefound We use greenscreen in docker with hosted couchdb at https://cloudant.com/. It's for free as long as your usage of couchdb is less than $50, which we never reached.
https://github.com/tomologic/docker-greenscreen
Has anybody tried setting it up on c9.io?