First sentence of the readme: “Please note: This repo is an internal repo. That means the source code is public, but we do not accept Pull Requests, we do not support the app being run locally, and we do not encourage people to fork or reuse this repository.”
I have set up this website in my local environment.
There are no materials in the current database, so I can’t see any lessons.
I’m interested in C#, so I want to add C# lessons to this website in my local environment.
Then I want to write C# code on this website.
Can you tell me how to add this track to the website running on local environment?
@vaeng Thank you for your reply.
I am also a fullstack developer.
I was completely fascinated by this website and wanted to know how it works and how it realized the online editor.
There is no other purpose. Isn’t it human to figure out new things and create better things?
Then I also want to help this website development a little and firmly raise the inconveniences.
You need to seed the database. It works in the normal Rails way with rake db:seed.
You’ll also need to get other stuff working such as the test-orchestrator and test-invoker. There are about 10 different repositories that run in production which you need to configure and get working together. Then you need to have the various language parts installed locally in docker (e.g. csharp-test-runner, csharp-analyzer, csharp-representer). Most projects have a bin/dev for local setup or are expected to be run in some local Docker setup. Most READMEs explain things.
There are 400 reposititories in total that work together to power the whole platform. You can read the Terraform to see how it all fits together.
It definitely is. I’m very happy for you to explore it all.
However, the reason that the README starts by explaining that we don’t support people running it locally, is that it’s a difficult task, and sadly I don’t have the time to help people with that (and I’m the only person who knows how it all fits together).
I also don’t accepts PRs or help with the website repositories, although I appreciate your desire to help! You might instead be interested in working on analyzers or representers for tracks that don’t have them!
It works for me. So I’m not sure. There’s nothing magic you’ll have hit at this stage that you won’t fix through just the normal process of working with Rails or reading the error messages.