How can i setup os.js?


#1

I know this is a stupid question but im kinda new to javascript
and yeah…

so how can i set it up?


#2

I suggest that you use version 3.

Simply follow the instructions in the readme file.

You need to have at least node version 8 installed.

Reference: https://manual.os-js.org/v3/install/#manual-setup

Step 1 - Download

git clone -b v3 --single-branch https://github.com/os-js/OS.js.git

If you don’t have git, just download and extract the latest release: https://github.com/os-js/OS.js/archive/v3.zip

Step 2 - Build and run

Inside the git (or extracted) directory:

# Install dependencies
npm install

# Discover installed (and default) packages
npm run package:discover

# Build the client bundle
npm run build

# And finally start the server
npm run serve

Step 3 - Run in browser

Now, open http://localhost:8000


#3

Everything is documented (including those steps) in the official manual: https://manual.os-js.org/v3

As well as the README file: https://github.com/os-js/OS.js/blob/v3/README.md