The issue that happen to building for local server

Hello, everyone!
I am going build the local environment for this website project.

I had already installed all programs with README.

The issues are following as:

  1. Db migrationg error.
  2. The error when running the server.

I would like someone who knows how to build a safe environment to give me advice as soon as possible.

Thank you.
Eric



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.

Sorry!

1 Like

@iHiD Thank you for your reply.
Can you tell me how to link the C# exericsm with Website?

Do you mean the C# track? What do you mean by Link it?

1 Like

I meant how to connect exericsm website with C# track.

I still don’t know what you mean, sorry. Do you mean who do you upload a c# exercise to exercism.org?

@iHiD Sorry for confuse.

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?

What is your final goal?

Do you want to learn C# and you don’t want to use the online editor?
Then you would need an IDE like Visual Studio Code, to write the C# exercises.

If you want to install C# to use it you can follow the instructions over here: Installing C# locally | Exercism's Docs

Do you want to run a server with the same website? If yes, I don’t see how this relates to C#?

@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! :slight_smile: You might instead be interested in working on analyzers or representers for tracks that don’t have them! :slight_smile:


I hope all that helps :slight_smile:

1 Like

Thank your your reply.
rails db:seed.
when I run this command, I got many errors.
Before run this cmd, what do I do?

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.