Contents
Wordpress on your laptop
-
Run your own Wordpress site on your PC. I'll stop putting all of the commands in excrutiating detail because you will probably be getting the hang of things. We are going to use Vagrant and Unix again but in a different way.
-
Start up the windows command prompt like you did in the previous lesson and create a new directory for your wordpress site e.g.
wordpress
or test
-
In your browser go to
https://github.com/cioportfolio/wordpress
and use the green button to download everthing as a .zip file. Unzip the file and copy the files to your new directory.
-
Back at the windows command prompt change to you new directory and run
vagrant up
. This will go away and build a basic wordpress installation.
-
Once it is finished (5 mins or so on a good network connection) go to your browser and type this special url
127.0.0.1:8080
and you should see the default starter wordpress site
-
If you use this url
127.0.0.1:8080/wp-login.php
you can sign in and change the site. The initial user name will be "admin" and password "admin"
-
When you have finished some wordpress configuration you can use
vagrant halt
to stop the unix machine and vagrant up
when you want to use wordpress again. If things get messed up you can restart from the beginning by using vagrant destroy
. The next vagrant up
will re-install everything again.
-
Take care. Unless you use the wordpress export tools you will lose any work you are doing if something happens to your laptop or you do a
vagrant destroy
.