Simple web server which would use under web/
folder as contents root.
-
Prerequisites:
-
Fork this repository as your GitHub repository:
-
https://github.com/dotnsf/simpleweb
-
Assume your new repository would be
https://github.com/yourname/simpleweb
.
-
-
Git clone your repository:
$ git clone https://github.com/yourname/simpleweb
-
Install libraries:
-
$ cd simpleweb
-
$ npm install
-
-
Run
app.js
withnode
command:$ node app
-
Open
http://localhost:8080/
with your web browser.- "ハローワールド!"("HelloWorld!") would be displayed. That's it!
-
web/
folder contains web resource, ans works as contents root.- You will find
index.html
file at first.
- You will find
-
You can customize(add/edit/delete files) under
web/
folder as you want.
This code is licensed under MIT.
2022 K.Kimura @ Juge.Me all rights reserved.