- Install from: https://git-scm.com/downloads
- Make configuration directory, and clone project repo
git clone https://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@github.com/AhmedUKamel/bsu-fcai-wms-server.git
-
Install from: https://dev.mysql.com/downloads/mysql
-
Write the following commands in
MySQL Command Line Clientto create user, grant privileges, and create database.
CREATE USER 'wms_user'@'localhost' IDENTIFIED BY 'wms_password_$404';GRANT ALL PRIVILEGES ON * . * TO 'wms_user'@'localhost';FLUSH PRIVILEGES;CREATE DATABASE wms_database;- Install jdk-17 from: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
- Create
JAVA_HOME, and add bin to system path
- Create start script in configuration directory
echo java -jar path\to\bsu-fcai-wms-server\warehouse_management_system.jar >> start.cmd- Run
start.cmdon the start upwin+Rshell:startupthen enter- Copy/Paste
start.cmd
- Create stop script in configuration directory
echo taskkill /F /IM java.exe /T >> stop.cmd- Create update script in configuration directory
echo path\to\stop.cmd >> update.cmd
echo cd path\to\bsu-fcai-wms-server >> update.cmd
echo git pull >> update.cmd
echo path\to\start.cmd >> update.cmd- Create shortcuts with icons in
bsu-fcai-wms-serverdirectory - Add shortcuts to app menu
- Make directory 'Warehouse Management System' in
C:\ProgramData\Microsoft\Windows\Start Menu\Programs - Copy/Paste shortcuts
- Make directory 'Warehouse Management System' in
- Finally hide configuration directory
- Open your preferred browser, and go to http://localhost:8080
- Initialize data by going to http://localhost:8080/init
- Login with
superadmin@stock.comas an email, andsuperadminas a password