-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create python
template
#82
Comments
hey, I would like to contribute here but can you explain to me exactly what I have to do or share some resources to understand better? |
Hi @Sidd2024, This epic contain a list of task to create a new template, each task must be small so it won't be hard for you. There is two way to create a template :
In all cases, you have to parse the input JSON string to know what action you have to do in your tool. For example in the V template (template-v is a CLI tool that read from When done, I just have to find the function to call with the widget's name, action's name or resource's name to get the app work and call it with the given arguments. If you need more info, you can contact me at any time. I'll try to answer you quickly as I can. |
@Sidd2024 You can post PR to this repository to confirm your entry for Hacktoberfest : https://github.com/lenra-io/template-python I also create many Issues that represent each task you have to do. |
Template must run the counter app in Python
We choose to use the same app for each template to help new developers to see how to implement they app when switching languages.
Tasks to do:
Setting up the default app:
handle_manifest
function template-python#2handle_widget
function template-python#3handle_listener
function template-python#4handle_resource
function template-python#5get_document
function template-python#6create_document
function template-python#7update_document
function template-python#8delete_document
function template-python#9execute_query
function template-python#10Setting up widgets:
root
widget template-python#11home
widget template-python#12menu
widget template-python#13counter
widget template-python#14loading
widget template-python#15Setting up listeners:
onEnvStart
listener template-python#17onUserFirstJoin
listener template-python#18increment
listener template-python#19Config lenra with Dofigen
/lenra.yml
Dofigen file for template configuration template-python#20The text was updated successfully, but these errors were encountered: