rejetto forum

HFS 3 preview

rejetto · 15 · 25607

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
It failed....


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
what's inside that folder?

anyway, you can try
npm install cloneextend


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
I Zipped the download like you said and that is what happens.


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
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
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
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
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
you mean you have to run these commands EVERY time you want to use HFS?


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
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
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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

  • Occasional poster
  • *
    • Posts: 29
    • View Profile
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
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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.


Offline samjke

  • Occasional poster
  • *
    • Posts: 1
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i'm sorry but i'm not working on HFS 3 anymore. No time :(