Testing it out

Starting Apache

Go back to the XAMPP Control Panel from Step 1 and click the button to start Apache.

Opening the site

Follow this link. You should see the old Scratch home page. If you instead get OMG. Scratch could not connect to memcached, make sure php_memcache is enabled in php.ini and that memcached is running.

Fixing profile pictures

Sign up for an account and then log in. Instead of the default pfp, you'll see "scratch code". If you try to set your pfp to something else, you'll get an error. To fix this, rename app\webroot\static\rename2icons\ to icons\. Everything should now work, except for the 404 image.

Setting yourself as admin

Open Command Prompt under C:\XAMPP\MYSQL\BIN\ and run this command:

UPDATE users SET role = 'admin' WHERE username = 'yourusername';
You have to replace yourusername by your username. Log out then log back in and you should now be an admin. This means that you may now enjoy the admin-specific stuff, such as localhost/administration/

Congratulations! You are now done!

If you want to manipulate the database further, open localhost/phpmyadmin/ and make sure to not break anyhing. To upload projects, instead go to localhost/services/share_project.

Everything included in stock HeatherscratchR should now work. If you want anything that's not included in HeatherscratchR wait for more guides to come out.


Heatherscratch On!