- Domain Name
- SSL Certificate(FullChain -> private key and Certificate+CA_Bundle). Fullchain is mandatory, else installation will fail.
- Azure CLI (https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)
- jq (https://jqlang.github.io/jq/download/)
- rclone (https://rclone.org/)
- Terraform (https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)
- Terragrunt (https://terragrunt.gruntwork.io/docs/getting-started/install/)
- Linux / Macos / Gitbash (Windows)
- Python 3
- PyJwt python package (you can using using pip)
- kubectl
- helm
- Postman CLI (https://learning.postman.com/docs/getting-started/installation/installation-and-updates/)
Note:
We will copy your existing files in the below location with a .bak
extension and create overwrite the below files
-
~/.config/rclone/rclone.conf
-
~/.kube/config
-
In the below instructions
demo
is the environement name. You can change it as per your need. For example -dev
,stage
etc. -
Clone the repo
git clone https://github.com/project-sunbird/sunbird-ed-installer.git
-
Copy the template directory
cd terraform/azure && cp -r template demo
-
Fill the variables in
demo/environment.hcl
-
Fill the variables in
demo/global-values.yaml
-
Run
az login --tenant AZURE_TENANT_ID
-
Run
time ./install.sh
Name | Description |
---|---|
environment |
Environment name (between 1 - 9 charcaters). Example: dev, stage |
random_string |
Alphanumeric random string (between 12 - 24) characters. Example: U2PNfwcz6rb9756ZwAwZ |
Name | Description |
---|---|
domain |
Domain name |
proxy_private_key |
SSL private key |
proxy_certificate |
SSL public key |
- Create environment folder
cd terraform/<cloud>
cp -rf template dev
cd dev
- Update required values in
environment.hcl
andglobal-values.yaml
files - Run
bash install.sh
This installation setup creates the following default users with different roles. Feel free to update the password using "Forgot password" option or create new users using API's
Role | Email/User Name | Password |
---|---|---|
Admin | admin@yopmail.com | Admin@123 |
Content Creator | contentcreator@yopmail.com | Creator@123 |
Content Reviewer | contentreviewer@yopmail.com | Reviewer@123 |
Book Creator | bookcreator@yopmail.com | Bookcreator@123 |
Book Reviewer | bookreviewer@yopmail.com | bookReviewer@123 |
Public User 1 | user3@yopmail.com | User1@123 |
Public User 2 | user2@yopmail.com | User2@123 |