Discuss Scratch

jvvg
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

I have created a VirtualBox appliance that runs ScratchR pre-configured. To install it, simply download and unzip the file, then go into VirtualBox and click “Import Appliance”, then find the file.

The following requirements need to be met:
  • 1 GB RAM (at the bare minimum)
  • 64-bit processor with hardware virtualization support
  • A firewall that will allow VirtualBox through

If you meet all of the requirements, then you can install as detailed above. The admin username and password are included in the machine description. To access the website, simply go to http://localhost:8888/ in your web browser while the VM is running.

You can download the file here.

Some useful things from Jeffalo:

Jeffalo wrote:

- the username and password are on the vm description in virualbox
- you can ssh into your vm via:
ssh -p 2222 apacheadmin@localhost
- use sudo mysql to acess mysql shell, you'll want to know the database is called “scratchr”
- setting yourself as an admin is
UPDATE users SET role = 'admin' WHERE username = 'jeffalo';

Also note that the forums have their own user system. To make yourself a forum admin, first visit the forums while logged into the main site to create your forum account, then run this query, which was provided by Alphysse:

Alphysse wrote:

UPDATE punbb_users SET group_id = '1' WHERE username = '[your username]';

Last edited by jvvg (April 13, 2021 02:01:19)

djdolphin
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

Maybe you should include a download?
jvvg
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

djdolphin wrote:

Maybe you should include a download?
I guess that would be helpful.

It's now in the OP.
Zeusking19
Scratcher
500+ posts

An easy way to set up ScratchR (1.4 website) locally

Perhaps I should build a Vagrant package for this…
MarkAWilliams
Scratcher
1 post

An easy way to set up ScratchR (1.4 website) locally

Thank you so much for this. I had spent quite a long time trying and failing to get scratchr working on our linux server. I'll use this instead.

How do I change the server for scratch to upload to on the client machines? I'm assuming I need to change the code in scratch itself (Shift-Click on the R etc.) but I don't know where to begin looking.
jvvg
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

MarkAWilliams wrote:

Thank you so much for this. I had spent quite a long time trying and failing to get scratchr working on our linux server. I'll use this instead.

How do I change the server for scratch to upload to on the client machines? I'm assuming I need to change the code in scratch itself (Shift-Click on the R etc.) but I don't know where to begin looking.
You can upload projects at http://localhost:8888/services/share_project
PullJosh
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

What is scratchR?
DigiTechs
Scratcher
500+ posts

An easy way to set up ScratchR (1.4 website) locally

PullJosh wrote:

What is scratchR?
Pretty sure it was what the Scratch 1.4 site ran on.

Like, the site now is called ScratchR2 or something
jvvg
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

DigiTechs wrote:

PullJosh wrote:

What is scratchR?
Pretty sure it was what the Scratch 1.4 site ran on.

Like, the site now is called ScratchR2 or something
Yeah, it was the software that powered the old website. Currently, the website source code is not available (only the player is).
badatprogrammingibe
Scratcher
500+ posts

An easy way to set up ScratchR (1.4 website) locally

I've been looking for something like this for a while, do you still have that file by any chance?
jvvg
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

badatprogrammingibe wrote:

I've been looking for something like this for a while, do you still have that file by any chance?
I have it, but I don't have any easy way to put it online since Copy.com no longer exists.
Wettining
Scratcher
500+ posts

An easy way to set up ScratchR (1.4 website) locally

jvvg wrote:

badatprogrammingibe wrote:

I've been looking for something like this for a while, do you still have that file by any chance?
I have it, but I don't have any easy way to put it online since Copy.com no longer exists.
Wow I haven't seen you post for quite some time jvvg
Jonathan50
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

badatprogrammingibe wrote:

I've been looking for something like this for a while, do you still have that file by any chance?
You can still download the ScratchR tree from Assembla: https://app.assembla.com/spaces/scratchr/dPXSscJ6mr3Azzab7jnrAJ/source (the link is from the Wiki.)
badatprogrammingibe
Scratcher
500+ posts

An easy way to set up ScratchR (1.4 website) locally

Jonathan50 wrote:

badatprogrammingibe wrote:

I've been looking for something like this for a while, do you still have that file by any chance?
You can still download the ScratchR tree from Assembla: https://app.assembla.com/spaces/scratchr/dPXSscJ6mr3Azzab7jnrAJ/source (the link is from the Wiki.)
I know, but I haven't found a way to get it to work and this seems to be an easy way to run it.
infinitytec
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

badatprogrammingibe wrote:

Jonathan50 wrote:

badatprogrammingibe wrote:

I've been looking for something like this for a while, do you still have that file by any chance?
You can still download the ScratchR tree from Assembla: https://app.assembla.com/spaces/scratchr/dPXSscJ6mr3Azzab7jnrAJ/source (the link is from the Wiki.)
I know, but I haven't found a way to get it to work and this seems to be an easy way to run it.
You should be able to follow these instructions.
badatprogrammingibe
Scratcher
500+ posts

An easy way to set up ScratchR (1.4 website) locally

infinitytec wrote:

badatprogrammingibe wrote:

Jonathan50 wrote:

badatprogrammingibe wrote:

I've been looking for something like this for a while, do you still have that file by any chance?
You can still download the ScratchR tree from Assembla: https://app.assembla.com/spaces/scratchr/dPXSscJ6mr3Azzab7jnrAJ/source (the link is from the Wiki.)
I know, but I haven't found a way to get it to work and this seems to be an easy way to run it.
You should be able to follow these instructions.
They are outdated; some of the steps no longer work as they reference data that is no longer hosted on the scratch website.
A-E-
Scratcher
100+ posts

An easy way to set up ScratchR (1.4 website) locally

Bumping because I'd love to have this, does anyone else have a copy?

jvvg wrote:

badatprogrammingibe wrote:

I've been looking for something like this for a while, do you still have that file by any chance?
I have it, but I don't have any easy way to put it online since Copy.com no longer exists.
Try putting it on https://catbox.moe/ if it is below 200mb, above that, Google Drive I guess.
There's always torrents too

Last edited by A-E- (Feb. 19, 2021 20:23:19)

jvvg
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

A-E- wrote:

Bumping because I'd love to have this, does anyone else have a copy?

jvvg wrote:

badatprogrammingibe wrote:

I've been looking for something like this for a while, do you still have that file by any chance?
I have it, but I don't have any easy way to put it online since Copy.com no longer exists.
Try putting it on https://catbox.moe/ if it is below 200mb, above that, Google Drive I guess.
There's always torrents too
I have updated the link.
Jeffalo
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

some useful things:
- the username and password are on the vm description in virtualbox
- you can ssh into your vm via:
ssh -p 2222 apacheadmin@localhost
- use sudo mysql to acess mysql shell, you'll want to know the database is called “scratchr”
- setting yourself as an admin is
UPDATE users SET role = 'admin' WHERE username = 'jeffalo';
- if you want user icons to work, rename the directory /var/www/app/webroot/static/rename2icons to /var/www/app/webroot/static/icons
- the 404 image is missing, in the /var/www/app/webroot/img directory, wget https://web.archive.org/web/20121106052142im_/http://scratch.mit.edu.ezproxyberklee.flo.org/img/404.png to add it back

Last edited by Jeffalo (March 28, 2021 06:36:41)

PoIygon
Scratcher
1000+ posts

An easy way to set up ScratchR (1.4 website) locally

Anyone have any images for the scratch website?

Powered by DjangoBB