This should give detailed explanation on how to clone and run the Yizsell Facebook Bot.
Yizsell Inventory/Point of Sale System's Facebook bot.
The application which is developed using spring boot, a java framework, has its dependencies managed by maven.
To run the application, please ensure that
java(min version 1.8), andmavenare properly installed to on your machine- verify this with the command
java -version,javac -version, andmvn --versionon your terminal.
- verify this with the command
Clone the
devbranch, if in master, checkout toremote/origin/devCreate a
.envfile in the applicationssrc/main/resourcesfolder, and specify the following:DATABASE_USERNAMEDATABASE_PASSWORDDATABASE_PORTDATABASE_NAMESERVER_PORTLOCAL_HOST_URLTIME_ZONE
- NB: Do not use an empty string as password, ensure you provide the correct username and password to your DB server. If any of the values is not specified correctly, the app wont start.
Examlple: DATABASE_PORT=3306- NB: The last three variables may not be specified as they have have default values, ensure however that port
8071is open and free in your machine. The default values are:SERVER_PORT=8071LOCAL_HOST_URL=localhostTIME_ZONE=useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC- ##### Lunch the application with the command
mvn spring-boot:run- NB: If app doesn't start, then load the
.envfile with the command:source ./src/main/resources/.env, this command should be run from the project root directory. After this re-run the app again.