forked from Pardhu448/CLIxDashboard
-
Notifications
You must be signed in to change notification settings - Fork 1
Steps to Setup CLIxDashboard
DurgaSwetha edited this page Mar 19, 2021
·
1 revision
In this part of wiki, we will give detailed steps involved in setting up CLIxDashboard on a server or on a local machine.
- create a folder for CLIxDashboard - 'mkdir CLIxDashboard' and move into it
- 'git clone' following repos - CLIxDashboard, clix_dashboard_backend, clix_dashboard_ui
- check which ports are available for postgres using this command - sudo lsof -i -P -n | grep LISTEN
- Following are usual ports used for potgresql - 5432, 5433, 5434. Use whichever is available at two places:
- in docker-compose.yml file of CLIxDashboard
- in config.py file of clix_dashboard_backend
- Now update local machine/server ip address in docker-compose.yml file of CLIxDashboard
- Update POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD in docker-compose.yml file of CLIxDashboard
- Get uid of user in host machine where the above mentioned folders are present. Then update 'DOCKER_UID' in with this uid in docker-compose.yml file of CLIxDashboard
- Follow the steps described here to setup CLIxDashboard backend
- run 'docker-compose up -d' command in the CLIxDashboard directory
- Follow steps outlined here
-
After one iteration of processing is done through Airflow, we will have data tables of all schools on backend DB. Follow these steps to create login credentials for these schools
-
Open CLIxDashboard website at port 3000