Skip to content

Spyduck/janusvr-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

JanusVR Inventory server scripts

Installation

Requires IPFS running: https://ipfs.io/ Requires composer: https://getcomposer.org/

$ git clone https://github.com/Spyduck/janusvr-inventory.git
$ cd janusvr-inventory/inventory/php
$ composer install

PHP scripts need to be available at:

(host prefix)/inventory/add
(host prefix)/inventory/addjson
(host prefix)/inventory/catjson

Example:

<Directory /var/www/html>
	Options FollowSymLinks
	AllowOverride All
	RewriteEngine on
	RewriteRule ^inventory/catjson/(.*)$ inventory/php/catjson.php?hash=$1 [L,NC,PT]
	RewriteRule ^inventory/addjson inventory/php/addjson.php [L,NC,PT]
	RewriteRule ^inventory/add inventory/php/add.php [L,NC,PT]
</Directory>```

IPFS port is assumed and can be changed at the top of each .php at:

$ipfs = new IPFS("localhost", "8080", "5001");

About

JanusVR Inventory server scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages