-
Setting up a portable web server
This guide will setup a portable NGINX web server using Laragon that has support for PHP and MySQL. This will allow you to develop web applications using PHP and MySQL and move them to different locations for development easily. You can download it from here. Make sure that you grab the portable version Extract the […]
-
Creating your first Django App
Press Ctrl+C to stop any running webserver. In the terminal enter the command below to create a django app named game_ranks. This will create a folder _game_ranks with some files for the app. We will use this in this example to make a django based website about game rankings. Below you can see the files […]
-
Installing and Setting up Django and Python
This guide uses Visual Studio Code and Python to install and develop a website based on the Django framework. Install a version of Python 3, make sure that you add Python to your PATH variable during installation if you are on Windows. If you are going to use Github to handle version control and the […]
-
PHP / MySQL Web Server
Download a portable USB Webserver running PHP and MySQL. This can be copied and run off of a USB or one folder without requiring an installation. https://sourceforge.net/projects/usbwebserver/ The default username is root and the default password is usbw. Check out the W3 Schools PHP tutorials for getting started with PHP.
-
Configuring Visual Studio Code to use PHP and PHP (Web) Server)
Open Visual Studio Code Click on Extensions. Search for php Select PHP Server Click Install Install any other PHP packages Visual Studio recommends as well. Install PHP Debug and PHP Intelephense as well to make editing code easier. Testing it works We need a php file. Create a new file. Save it as filename.php the […]
-
Installing PHP on Windows
There are a number of ways to run PHP on Windows computers. The easiest is to download USB Web Server. This allows you to run a portable web server. However it isn’t great for development. You can install PHP by itself. Windows does this slightly differently. Download and install the Windows Platform Installer. Read and […]
-
Adding an image
Download the two files below in the lesson media section. Below it the template for the html page. To add an image using html you use the img tag. This one of the few tags that has an opening tag and not a closing tag. You need to save the image to your computer for […]
-
Adding Ads to a WordPress site using Google Adsense (and just adding Ads to HTML pages)
In this guide we will set up a Google AdSense account and use the Google Site Kit plugin for WordPress to publish adds on the site. You will need a google account and a WordPress website that is hosted on a domain that allows adverts. You will need admin access to be able to install […]