Online web based ecommerce system.
..
- Clone this repo using
git clone [email protected]:dineshdb/ecommerce.git - Update all submodules using
git submodule update --init --recursive - Build the project using
./gradlew build. It will build the backend components. - Create database from here
- Update environment variables using
source setenv.sh - Run the project using
./gradlew bootRun. Go to http://localhost:8080 to see the output. - To sync new updates
git pull --recurse-submodules.
Following steps automagically build required files
- Setup all dependencies using
make setup - Run api-server using
make run-api. - Run recommendation server using
make run-rec. - Run reverse proxy using
make run-proxy.
Install mysql or mariadb and get into its root shell. Then execute:
mysql> create database auction_db; -- Create the new database
mysql> create user 'auction_user'@'localhost' identified by 'ThePassword'; -- Creates the user
mysql> grant all on auction_db.* to 'auction_user'@'localhost'; -- Gives all the privileges to the new user on the newly created databaseNote: Don't forget to change password in production.