-
Notifications
You must be signed in to change notification settings - Fork 27
DynamicWebPage
Read get webapplate to download latest version of webapplate.
Read setup webapplate to install essential development tools.
You could change server port or debug stat in config.js
.
Change isDynamic
property to true in config.js
. So server.js
file will enable dynamic webpage features.
Then, you could run node server.js
command to start the dynamic web server. Open your browser and type http://localhost:8000
in URL bar, you will see the welcome page.
Now you can follow express documentation to do any dynamic web development.
webapplate pre-integrate the Django-like template - swig syntax to render templates from /views folder. You could change to other template in server.js
.
The static files are located in /public
folder and could be accessed via http://localhost:8000/public
url.
You could check related file structure and use some of these features on your project:
- Dynamic webapp related structure
- Static webapp related structure
- Multiple language support
- Test
- Quality and style check
Read dynamic hosting for host your dynamic web page.
Want to deploy your dynamic web app to Firefox OS marketplace? check HostedWebapp.