Scratch tutorials is a website for tutorials about scratch. I got the idea from FlagClicked, but that project is not in active development as of now.
Make sure you have node and mongodb installed. If you want you can use mongodb atlas if you don't want to install mongo.
Run:
git clone https://github.com/Tallented-Code-bot/scratch_tutorials/
cd scratch_tutorials
npm install
Then create server/config.js
with these contents:
const config={};
//specify the port you want it to listen on here
config.listen_port=3390
//This is the ip to listen on. 0.0.0.0 will listen on all ips on your network, meaning
//that you can connect from any device on your network.
config.listen_ip="0.0.0.0"
config.db={};
//User of your database
config.db.user=<Database user>;
//database user password
config.db.password=<Database user password>;
//this is the database that will be used; you can change it if you want
config.db.db="scratch_tutorials";
//replace this with your connection string
config.db.connectionString=<Mongodb connection string>
module.exports=config;
npm run start
node server/index.js
npm run build
node server/index.js
Then go to http://localhost:3390 or to the port that you specified.
- Tutorial creation and deletion
- User authentication
- Basic markdown syntax
- Scratch blocks in markdown
- Comments
- Up voting tutorials