A web application to update or configure a charge point with OCPP protocol.
- OpenJDK 21.0.1 ;
- Maven 3.9.6.
- NPM 10.2.3 ;
- NodeJS 20.20.0.
TODO : Explain the installation process !
You must set those environment variables in IntelliJ in the edit project configuration:
- DB_ADDRESS=<test database url>;
- DB_PASSWORD=<test database password>;
- DB_USERNAME=<test database username>;
- FINAL_WS_SERVER_ADDRESS=<*next supervisor server address>;
- FS_HOST=<ftp server address>;
- FS_PASSWORD=<ftp password>;
- FS_PORT=<ftp port>
- FS_USER=<ftp user>;
- MYSQL_ADDON_USER=<database username>;
- MYSQL_DB_ADDRESS=<database url>;
- MYSQL_DB_PASSWORD=<database password>;
- WEBSOCKET_PORT=<websocket port>;
- WEBSOCKET_URL=<websocket ip address>;
You should install the plugin in IntelliJ CheckStyle-IDEA and set the checkstyle.xml in the plugin configuration. Then check style could be executed locally through the plugin menu.
The python script is used to generate charge points and status into the database.
You will need python3 as well as pymysql installed : pip install pymysql
.
You can run it by typing python3 generator.py -h
.
It will display information on the program and the arguments.