1.0.17 • Published 8 years ago

andruav_local_website v1.0.17

Weekly downloads
2
License
MIT
Repository
-
Last release
8 years ago

Installation

$ npm install andruav_local_website -g

Running the Server

$ andruavlocalweb

then open browser at https://127.0.0.1:8181/andruavweb.html

IT IS VERY IMPORTANT TO USE THE EXACT URL mentioned here. You only can change PORT NUMBER by running the app with PORT argument.

$ andruavlocalweb -p 8181

you can use App such as PM2 to make the server auto-start

sudo npm install pm2 -g
sudo pm2 startup
sudo pm2 start andruavserver
sudo pm2 list

Advanced Configuration

Andruav Local Web assumes that you are running it from the same machine that runs Andruav Local Server https://www.npmjs.com/package/andruav_local_server. But if you want to deply it on Internet Server or access it from remote computer then you need to make different settings.

1- Open file /usr/local/lib/node_modules/andruav_local_website/js/js_andruavAuth.js and change

window._localserverIP 	= "127.0.0.1"; 

to include the real IP address.

window._localserverIP 	= "www.yourdomain.com"; 

2- Copy folder /usr/local/lib/node_modules/andruav_local_website/ to under apache directory and access it from web. You can also change localweb.js or just use http-server after install it using

sudo npm install http-server -g
1.0.17

8 years ago

1.0.16

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago