Author Topic: HFS 3 preview  (Read 6714 times)

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12856
    • View Profile
HFS 3 preview
« on: July 03, 2012, 03:05:22 PM »
HFS 3 is still at a very early stage.
It's not even beta, not even alpha.
I'm building it from the very ground, but some of you may like to see what's going on.

There's no installing procedure yet, but i'll try to help you.

1) install node. Latest version should always fit.
http://www.nodejs.org/

2) install dependencies

for Windows 7:
Python 2.7.3
Windows 7 64-bit SDK (not needed if you have 32bit)
VS C++ 2010
If you get errors that the 64-bit compilers are not installed you may also need the compiler update for the Windows SDK 7.1

for Windows 8:
VS C++ 2012

3) open the command line, enter a folder of your choice, like "hfs" and execute:

git clone https://github.com/rejetto/hfs.git
npm install
node main


3) at this point you should get this output
   info  - socket.io started
   info  - socket.io started
DBG)   listening on port 8
DBG)   listening on port 88


4) open your browser (only Chrome has been tested).
You will find back-end administration at
http://localhost:88/

and the front-end for anyone else at
http://localhost:8/



let me know if this works for you!
If it doesn't, provide as much information as you can. Screen shots may also help.
« Last Edit: March 21, 2014, 03:58:13 PM by rejetto »

Offline raybob

  • Insane poster
  • *****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: HFS 3 preview
« Reply #1 on: July 07, 2012, 04:01:00 PM »
It failed....

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12856
    • View Profile
Re: HFS 3 preview
« Reply #2 on: July 09, 2012, 04:59:17 PM »
what's inside that folder?

anyway, you can try
npm install cloneextend

Offline raybob

  • Insane poster
  • *****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: HFS 3 preview
« Reply #3 on: July 10, 2012, 03:50:58 PM »
I Zipped the download like you said and that is what happens.

Offline raybob

  • Insane poster
  • *****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: HFS 3 preview
« Reply #4 on: July 10, 2012, 03:54:16 PM »
I got 'node main' to work after doing 'npm install cloneextend', 'npm install async' and 'npm install socket.io'.

It still won't isntall thogouh

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12856
    • View Profile
Re: HFS 3 preview
« Reply #5 on: July 10, 2012, 06:22:14 PM »
this is what happens here instead http://clip2net.com/s/26GmH

then i can "cd node_modules\hfs"
and "node main"

... what if you run "npm ls" ?

Offline raybob

  • Insane poster
  • *****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: HFS 3 preview
« Reply #6 on: July 14, 2012, 09:30:59 PM »
I can only get HFS3 to start if I do these commands in this order.  It will not install but it runs without installing.

npm install cloneextend
npm install async
npm install socket.io
node main

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12856
    • View Profile
Re: HFS 3 preview
« Reply #7 on: July 15, 2012, 12:33:35 PM »
you mean you have to run these commands EVERY time you want to use HFS?

Offline raybob

  • Insane poster
  • *****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: HFS 3 preview
« Reply #8 on: July 15, 2012, 03:33:17 PM »
Just the first time, then a folder called 'node_modules' is created in the HFS folder with subfolders socket.io, async, and cloneextend, and HFS will work only if those 3 extra modules are there.

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12856
    • View Profile
Re: HFS 3 preview
« Reply #9 on: July 16, 2012, 12:56:27 PM »
i don't know why "dependencies" refused to install on your system :-/
that's normally automatic.
I have Win7 64bit.
I just tried on a WinXP virtual machine and all went fine.
I executed: npm install hfs. The process finished with a folder "node_modules" with another folder "hfs" in it, and in it i can run:
node main

Offline almulder

  • Regular poster
  • **
  • Posts: 29
    • View Profile
Re: HFS 3 preview
« Reply #10 on: December 24, 2012, 06:24:01 PM »
Installed on Windows 8 - Install went with no issues. :)

To launch I had to change folders as it was installed into 2 sub folders.

"c:\hfs\node_modules\hfs"

Launched Main, that worked

Code: [Select]
C:\hfs\node_modules\hfs>node main
   info  - socket.io started
   info  - socket.io started
DBG)   listening on port 8
DBG)   listening on port 88

Back end works (From what I can see.)
Code: [Select]
Back End
Virtual File System
"bind to disk"
"add item"
"rename"
"delete"
with only "add item" clickable
But unable to get added items to save after adding.

well when page refreshes there are no items listed, but trying to re add the same item again i get a popup box:
Code: [Select]
already exists


But unable get to see front-end. "Oops! This link appears to be broken."
when trying to access i get this in the cmd window, but noting in chrome.

Code: [Select]
DBG)   serving 127.0.0.1:8 /
DBG)   serving 127.0.0.1:8 /favicon.ico
DBG)   vfs.changed
DBG)   serving 127.0.0.1:8 /
DBG)   serving 127.0.0.1:8 /favicon.ico
DBG)   serving 127.0.0.1:8 /
DBG)   serving 127.0.0.1:8 /favicon.ico
DBG)   serving 127.0.0.1:8 /
DBG)   serving 127.0.0.1:8 /favicon.ico

Using windows 8 & Chrome

I just wanted to see what HFS 3 was going to be like was why I tried to install.

If you need me to test anything else, let me know.

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12856
    • View Profile
Re: HFS 3 preview
« Reply #11 on: December 26, 2012, 10:47:18 PM »
consider this is in the "programmers" forum board because what you are going to see is not interesting for normal users.
It's the technology behind the scenes...

when you "add item" you have to input the whole path to the thing (folder?) you want to add. Like "C:\users"

It is supposed to work this way, and i tried right now.

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12856
    • View Profile
Re: HFS 3 preview
« Reply #12 on: March 05, 2013, 02:12:57 PM »
ok i found that Win7 has heavy dependencies, you need to install many things as a base (thanks, TooTallNate).
The first post was updated accordingly.