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

Having trouble building portify/Windows 7 #88

Open
ghost opened this issue Mar 25, 2014 · 23 comments
Open

Having trouble building portify/Windows 7 #88

ghost opened this issue Mar 25, 2014 · 23 comments

Comments

@ghost
Copy link

ghost commented Mar 25, 2014

Building portify

Make sure you have installed a usable build enviroment (gcc, make & co.) (??)
Install Node.js (using your favourite package manager, but make sure it's newer than 0.8)(done)
Clone the git repo (master branch)(done)
Go into the ./data/ directory and run npm install (This will fetch and compile all depenencies of portify)(I can't find this)
Try running the daemon by executing node app.js in the ./data/ folder(???)
Open your favourite browser and go to localhost:3132

@33bulldogs
Copy link

I am in the same exact boat. There are no instructions for Windows. I can get the website up and running pretty easily on localhost... beyond that, when I try to login to Google I see:

http://local.portify.com/google/login 404 (Not Found)

login
/google
POST
404
Not Found
text/html
angular.min.js:106
Script

@ghost
Copy link
Author

ghost commented Apr 11, 2014

It's really frustrating for this tool to have been pushed on Lifehacker and other sites when it takes knowledge of a system that isn't used by many people. I consider myself fairly competent on Windows and Mac, but Linux makes zero sense to me.

I'm going to dedicate part of my summer to moving stuff manually.

@33bulldogs
Copy link

I"m just going back to Spotify... I've found a lot of issues with Google
Music already that are just quirky and cumbersome... Spotify takes the cake
easily on this one.

On Fri, Apr 11, 2014 at 11:20 AM, jebjebbird notifications@github.comwrote:

It's really frustrating for this tool to have been pushed on Lifehacker
and other sites when it takes knowledge of a system that isn't used by many
people. I consider myself fairly competent on Windows and Mac, but Linux
makes zero sense to me.

I'm going to dedicate part of my summer to moving stuff manually.

Reply to this email directly or view it on GitHubhttps://github.com//issues/88#issuecomment-40222065
.

NICK KURUCZ


_Webhelio, LLC *
*- A Media Solutions Company_Lee's Summit, MO (816) 591.5571

@ghost
Copy link
Author

ghost commented Apr 11, 2014

I like that Google has a library and not just playlists. Plus, Spotify always crashes my aging Mac so it's basically useless to me. Google also works better with my existing music collection.

@33bulldogs
Copy link

Cool. I thought for sure I would like Google, but then I got on my mobile
and I had to create a different user account to use it otherwise I had to
use my primary email account and leave it open on my computer.. that's way
too risky for me. Just didn't workout for me this time, and crashed on my
mobile and on my PC several times. Couldn't listen offline, couldn't
Chromecast songs that were in my existing library (defeating the purpose of
why I wanted to make the switch in the first place). I think Spotify will
support Chromecast at some point..

On Fri, Apr 11, 2014 at 11:32 AM, jebjebbird notifications@github.comwrote:

I like that Google has a library and not just playlists. Plus, Spotify
always crashes my aging Mac so it's basically useless to me. Google also
works better with my existing music collection.

Reply to this email directly or view it on GitHubhttps://github.com//issues/88#issuecomment-40223192
.

NICK KURUCZ


_Webhelio, LLC *
*- A Media Solutions Company_Lee's Summit, MO (816) 591.5571

@ghost
Copy link
Author

ghost commented Apr 12, 2014

I didn't even know Chromecast had that. You may have just talked me into getting a Chromecast haha!

@33bulldogs
Copy link

Omg chromecast is the best thing ever. Google movies, netflix, hulu+,
pandora.... so badass. I actually cancelled my cable. No need between
that and HD antenna.
On Apr 11, 2014 8:48 PM, "jebjebbird" notifications@github.com wrote:

I didn't even know Chromecast had that. You may have just talked me into
getting a Chromecast haha!

Reply to this email directly or view it on GitHubhttps://github.com//issues/88#issuecomment-40268754
.

@JeppeTh
Copy link

JeppeTh commented Apr 19, 2014

  • Download portify zip and extract it - https://github.com/mauimauer/portify/archive/master.zip
  • Download the Node.js installer from here - http://nodejs.org/download/. Important to chose the msi variant since this will install the needed npm for windows as well.
  • Start "Node.js command prompt" - (should be available in start menu shortcut of Node.js which you just installed)
  • cd to the data directory of unzipped portify in the command prompt (.../portify-master/data)
  • run 'npm install' in the command prompt
  • when it's finished run 'node app.js' in the command prompt. Then start a browser and navigate to localhost:3132

When I first tried to run node 'app.js' - I got into this issue:
#99
which was solved by running 'npm install express@3.5.1'

@ghost
Copy link
Author

ghost commented Apr 23, 2014

Thanks, I'll try that later today. Finally got a day off.

@ghost
Copy link
Author

ghost commented Apr 23, 2014

So, I downloaded the win32, and the master directories. I then merged, and did a copy-replace so that the master was over-riding the win32. Then I pulled up node.js and entered cd and then the filepath to the data directory. I hit enter.

So far, nothing is happening.

@JeppeTh
Copy link

JeppeTh commented Apr 23, 2014

Did you start "Node.js command prompt"?

Then its not just enter? You must provide the command:'npm install' and then enter.

And Node.js must be installed with the .msi to also get npm.

@ghost
Copy link
Author

ghost commented Apr 23, 2014

I installed it with the .msi. What exactly should I be typing into the command line?

All I get is ...

@JeppeTh
Copy link

JeppeTh commented Apr 23, 2014

If in correct directory hit
npm install

@ghost
Copy link
Author

ghost commented Apr 23, 2014

..what is the correct directory? I can't find it.

@JeppeTh
Copy link

JeppeTh commented Apr 23, 2014

.../portify-master/data/

i.e. where the app.js is located

@JeppeTh
Copy link

JeppeTh commented Apr 23, 2014

Not sure what you mean by
"So, I downloaded the win32, and the master directories. I then merged, and did a copy-replace so that the master was over-riding the win32."

Just download the zip file and extract it.
https://github.com/mauimauer/portify/archive/master.zip

@ghost
Copy link
Author

ghost commented Apr 23, 2014

I replaced the data folder in the win32 folder with the data folder from the master folder.
One of the other guides said to do that..

@ghost
Copy link
Author

ghost commented Apr 23, 2014

I re-extracted from scratch.
I pull up node.js and type "cd C:\Users\JEB\Dropbox\Downloads\portify-master\data run 'npm install'"
Nothing happens.

@JeppeTh
Copy link

JeppeTh commented Apr 24, 2014

So you only get a new prompt after npm install? Or does it hang? Whar happens if run
npm help
instead?

You just type
npm install
and then hit ENTER right? Not typing any '?
Did you install correct version of Node.js, meaning 32bit vs 64bit.

@ghost
Copy link
Author

ghost commented May 7, 2014

npm should be run outside of the node repl, in your normal shell.

@andrew01ait
Copy link

Great tutorial for installing npm on Windows. you jsut neet to have git.
http://www.hacksparrow.com/install-node-js-and-npm-on-windows.html

@andrew01ait
Copy link

Kudos to JeppeTh for the great step by step tutorial on how to get the portify application up and running.
After having been able to loginto google without any problems, the applications hangs at the spotify login screen? Device Login+ Password do work. Is there any way to turn debuging on?

@ghost
Copy link
Author

ghost commented Nov 28, 2014

I'd long since given up on this. I'm not bothering anymore.

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

3 participants