Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question & Suggestion #17

Open
repo-code opened this issue Sep 22, 2019 · 1 comment
Open

Question & Suggestion #17

repo-code opened this issue Sep 22, 2019 · 1 comment

Comments

@repo-code
Copy link

repo-code commented Sep 22, 2019

Hello,

I have 4 questions and 1 suggestion.

My questions:
1- Can I use this template for commercial use? I am selling online courses and I need to use online editor for my courses. I was using DataCamp light, but I don't like to put DataCamp logo and URL everywhere inside my website.

  1. I see the code in the course-starter-python/exercises/test.py is very difficult. Can I use Ex().has_equal_ast(exact=False) ? is there any simple code to match the answer with solution?

3- How to embed an interactive code widget ( with run button ) on a website or a blog ( like yours in the home page of https://spacy.io )?

4- Is there any way to write the title and description of "chapter1.md" RTL?

My suggestion:
I suggest you create a Wordpress plugin and also I suggest you make a video to explain how to use this project on any website or blog to make any website or blog interactive.

Finally, big thanks to you for this brilliant project, I really like it and I think this project better than DataCamp light and it will help many course creator around the world.

@ines
Copy link
Owner

ines commented Sep 24, 2019

Thanks a lot!

1- Can I use this template for commercial use? I am selling online courses and I need to use online editor for my courses. I was using DataCamp light, but I don't like to put DataCamp logo and URL everywhere inside my website.

Yes, the source code is MIT licensed, so you can use it commercially.

I see the code in the course-starter-python/exercises/test.py is very difficult. Can I use Ex().has_equal_ast(exact=False) ? is there any simple code to match the answer with solution?

You can find some more details on the test format here: https://github.com/ines/course-starter-python#adding-tests

I hope it's not too difficult – the idea was to model it more closely to native Python tests so you can just write assertions instead of having to know a custom test framework and API. __solution__ is the string value of the submitted code, and you also have access to any variables defined in the solution code and can perform any checks you want, in Python. You can probably implement your own logic that does more checks yourself if needed.

3- How to embed an interactive code widget ( with run button ) on a website or a blog ( like yours in the home page of spacy.io )?

See here: https://github.com/ines/juniper

4- Is there any way to write the title and description of "chapter1.md" RTL?

I think adding direction: rtl in the respective styles should work.

I suggest you create a Wordpress plugin and also I suggest you make a video to explain how to use this project on any website or blog to make any website or blog interactive.

This is an interesting idea, but I don't have time for this, sorry! This is a personal open-source project and I chose to publish it to make it easier for other to use my code if they want to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants