Install Elec_Test and shutdown as service
- Clone the git repository using the following command:
git clone https://gitlab.com/Sapcon-Qt/erpnext/elec_test.git
Put the username and password of gitlab when prompted.
- Change the directory to /elec_test.
cd elec_test
- Change the branch to specific tag/branch using :
git checkout elec_test_python3
- Run the install.sh by running following :
./install.sh
-
During Installation it will ask you for username password for another git repo : frappeClient.
-
Also while installing it will ask for permission on terminal enter Y in those case.
-
After the successful installation enter credentials in "auth.py" which is in frappeclient directory.
- Restart the elec_test service using :
sudo systemctl restart elec_testif the installation is successful and response is successful from server then tower module will speak : "Initiating Capps Tower Module".
- to check the status of services : ``` sudo systemctl status elec_test ``` - so status will look like below: - sudo systemctl status shutdown.service  - If any thing goes wrong and the services aren't running, you can diagnose the issue by using following command: ``` sudo journalctl -u servicename.service -b ``` - Put respective service name in place of servicename.service. For example, to know issues regarding why the elec\_test.service failed to start, use the command: ``` sudo journalctl -u elec_test.service -b ``` **Note:** Some bugs were deliberately introduced to show the working of above command.  -
Once the services are running, trying running the system once, with a test setup to ensure that everything is working.
-
Test the software for it's proper working.
In case, if anybody wishes to check the modules (reader,speaker,tower,network,io), some test codes are already present. These can be used to know the working of some very simple functions. By following the above steps, the one time configuration of SD card with all the services should be complete. This card can now be used to create clones. The cloning methodology is given on later page.