mongoose/docs/BasicWebsite.md
2014-03-19 11:41:01 +00:00

1.4 KiB

How To Create A PHP Website With Mongoose

1. Create a directory which will contain your website files. For example, on drive C:\, create a directory called my_website:

screenshot

2. Inside my_website directory, create a new file called "index". This will be the default web page shown when the website is visited.

screenshot

3. Open index file with your favorite editor (for example, Notepad) and enter some HTML code:

screenshot

4. Save this file as index.html:

screenshot

5. Download Mongoose executable from http://cesanta.com/mongoose.shtml and copy the executable inside my_website directory:

screenshot

6. Double-click mongoose executable. An icon will appear on a system tray in the bottom right corner of the desktop:

screenshot

7. Click on the mongoose icon and choose "Go to my address" menu:

screenshot

8. A browser will popup displaying index.html file. Now, you can expand your website by adding more content.

screenshot