Skip to content

shikshalokam/sl-sunbird-implementation-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python scripts for program and resource implementation

Python script to upload a program and add multiple resources like Projects , Surveys , Observations (with and without rubrics) to it.

Resource templates

To know more about the resources : https://diksha.gov.in/help/getting-started/explore-diksha/index.html

Initial steps to set up script in local

  • Pull the code only from master branch.
  • create a virtual environment in python. python3 -m venv path/to/virtualEnv
  • Once the virtual environment is created, activate the virtual environment. In Linux source { relative path to virtualEnv}/bin/activate In Windows { relative path to virtualEnv}/Scripts/activate
  • Install all the dependencies using requirement.txt using following command. pip3 install -r requirement.txt
  • Make sure there are no errors in the install.
  • If there are any errors in the install, try to install the same version of the libraries seperatly.
  • Download the user given template and save it in the same file where the code is hosted.
  • Command to run the script. python3 main.py --env pre-prod --programFile input.xlsx We have pre-prod and production as environment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages