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

Setup And Database #8

Closed
Elqul opened this issue May 18, 2016 · 6 comments
Closed

Setup And Database #8

Elqul opened this issue May 18, 2016 · 6 comments

Comments

@Elqul
Copy link

Elqul commented May 18, 2016

hello,

how do i setup this server ? and where is the database script ?

Thank you

@nerdsupremacist
Copy link
Member

nerdsupremacist commented May 18, 2016

Ehm. I don't understand what you mean by database script. This connects to a MongoDB instance we have set up. Which happens to be hard coded for now.

This is a very specialised server solution that is nowhere near production ready. Are you sure you want to run this?

If so install NodeJS. And run npm install and npm start on the Project folder. But the Facebook integration won't run locally, because of the Facebook API. So you can't log in.

@Elqul
Copy link
Author

Elqul commented May 18, 2016

yes i want to use it for development without the facebook login.
once i install NodeJS and run npm start this will connect to your own MongoDB. correct ?

@nerdsupremacist
Copy link
Member

Yes. Exactly it will connect to ours. But why exactly do you want this? It's useless without the Facebook integration.

@Elqul
Copy link
Author

Elqul commented May 18, 2016

well , i want to make some changes to this project server wise and try a few things out.

by the way, can you just try to show me the schema flow of the DB. like the table structure so that maybe i can implement my own mongoDB on my server?

@nerdsupremacist
Copy link
Member

nerdsupremacist commented May 18, 2016

Sure. We have three collections. One that stores all the user information (id, settings), watchlist, that does a mapping all the movies in the users watch lists and subs that does the same thing but for following actors. It's really not much. If you give it a MongoDB instance it will even create the collections itself.
We're not in the business of storing a lot of data.

@Elqul
Copy link
Author

Elqul commented May 18, 2016

Alright thank you . i will give it a try

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

2 participants