Sign inSign up

jprad/s3coder

By jprad

Updated about 6 years ago

The Scratch 3.0 Extensions development environment based on the code-server.

Image
0

879

jprad/s3coder repository overview

QuickStart - Scratch 3.0 Extensions Development

How to setup the Scratch 3.0 Extensions development environment, using the Docker.

Purpose

Have fun pair programming with parents and children, using the Scratch 3.0 Extensions development environment based on the code-server.

Requirements

Usage

STEP 1 - Docker

On the command prompt, run the following commands.

cd c:\
mkdir scratch-ws
docker run --name s3coder -d -p 8080:8080 -p 8601:8601 -v C:/scratch-ws:/home/coder/s3/scratch-ws -e PASSWORD=password jprad/s3coder /home/coder/s3

STEP 2 - Open the code-server

Click the following link to open the code-server. The authentication password is 'password'.

STEP 3 - Start Scratch 3.0 GUI (scratch-gui)

Start scratch-gui with the following operation.

  1. Click [Run (Ctrl + Shift + D)] icon.
  2. Select 'Run Scratch 3.0 GUI' (default).
  3. Click [Start Debuging] icon.
  4. Select [TERMINAL] tab, waiting 'Compiled successfully'.
STEP 4 - Coding on Scratch 3.0 GUI

The following link will open Scratch 3.0 GUI.

How to control the docker

To stop and restart the docker container, use the following docker commands

Stop docker

docker stop s3coder

Start docker

docker start s3coder

Development

You can develop the Scratch 3.0 Extensions on a web-based development environment. But create PNGs and other images using Windows applications. If you save the file in the c:\scratch-ws folder, you can load it to copy it to some folder on the code-server.

For specific instructions on how to develop the Scratch 3.0 Extensions, see the following links.

Tag summary

Content type

Image

Digest

Size

844.2 MB

Last updated

about 6 years ago

docker pull jprad/s3coder