Skip to content

dineshdb/auction

Repository files navigation

ecommerce

Online web based ecommerce system.

CircleCI

..

Getting started.

  • Clone this repo using git clone git@github.com: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.

Running the app.

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.

Create Database

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 database

Note: Don't forget to change password in production.

Authors

Releases

No releases published

Packages

No packages published

Languages