Skip to content

ZoeThivet/CodeCraft

 
 

Repository files navigation

Codecraft

Feature Requests

Codecraft is a graphical programming software which is based on Scratch 3.0. It targets teenagers of age 7-16, compatible with WIN/MAC.

Codecraft help online

Support Devices

Download

You can download the latest version from the download page from our website or Github Release

Prerequisites

This project requires:

Build

Clone this repo

git clone -b main https://github.com/Seeed-Projects/seeed-codecraft ~/seeed-codecraft 
export workspace=~/seeed-codecraft
pushd workspace

Auto Install

Linux/Mac:

bash run-mac.sh

Windows:

bash run-win64.sh

Manual Installation

cd ${workspace}/blocks
npm install && npm run build

cd ${workspace}/l10n
npm install && npm run build

cd ${workspace}/vm
npm install && npm run build

cd ${workspace}/gui
npm install
  • For mac or linux like
npm run build-mac
  • For win
npm run build-win

Build main app

rm -r ${workspace}/main/app/gui && cp -r ./build ${workspace}/main/app/gui
cd ${workspace}/main/app
npm install
./node_modules/.bin/electron-rebuild serialport

# If the error message “script is prohibited on this system” appears on the Windows   
# system, you need to open powershell as an administrator, and then execute 
# Set-ExecutionPolicy RemoteSigned

cd ${workspace}/main
npm install
rm -r build 
  • For Mac
npm run publish-mac
  • For Linux like
npm run publish-linux
  • For Windows
npm run publish-win64

Once you finish building, you can find the installer under main/build/

Contribute

PR welcome

Thanks for your interest in contributing to this project !

License

The code contained in this repository and the executable distributions are licensed under the terms of the Apache License 2.0. The executable distributions contain third-party code licensed under other compatible licenses such as BSD-3.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.4%
  • C++ 14.1%
  • JavaScript 2.4%
  • Assembly 0.6%
  • Python 0.2%
  • Makefile 0.1%
  • Other 0.2%