As you might see when I’m writing this post, I’m excited. I’ve been wanting to put wordpress on glitch for a while. My first attempt failed and ended with my editor being very slow. A few months later it seems like the glitch team has made this faster for things. I started with a LAMP proof of concept. I’m not a php expert so I don’t understand what that is so I’m guessing it’s a kit of starter stuff with mysql and apache. Then I grabbed wordpress and extracted into the wordpress folder. Then I configured it and poof, I had a wordpress installation. Without further ado I present to you the wordpress installation that’s not quite done yet.
I didn’t want to include a default user account so I didn’t complete the setup
*please not that this is very unstable and data loss may occur. I found when remixing the original project that the mysql database gets erased. Update: Later I found out the database was in .data so if you wanna transfer your data rename .data to something else without a dot. *
You might remix this and find, wait a minute the database is gone!
Well here’s a tutorial on how to make one!
- Open a terminal
- Type
mysql -u root
- Optional type:
show databases
and make sureWordpressBlog
isn’t on the list if it is stop everything and typeexit
- Type
create database WordpressBlog
- When that finishes type
exit
and typerefresh
- Close the terminal and enjoy your new mysql installation by going to projectname.glitch.me/wordpress!
Things you should know and not ignore
You’ll defintley want to read this
- Most pages require http only to work, for some reason the pages don’t always work on https.
- Again, the database is in .data so if you wanna transfer your data rename .data to something else without a dot.
- You need a / after wordpress because for some reason only yourprojectname.glitch.me/wordpress/ works but not yourprojectname.glitch.me/wordpress
Demo
Here you go http://fearless-raspy-alarm.glitch.me/wordpress/