Skip to content

Product Design is the service responsible for exploring different design patterns generated by GANs.

Notifications You must be signed in to change notification settings

priyanshu-sharma/product-design

Repository files navigation

Product Design

Product Design is the service responsible for exploring different design patterns generated by GANs.

Setup

git clone https://github.com/priyanshu-sharma/product-design.git

cd product-design/

bash setup.sh

Other Component Setup

Postgres

Open a new Terminal and configure Postgres Database with: -

sudo -u postgres psql

This will open postgres prompt. Enter the following commands to configure the database user. and '\q' to quit the postgres prompt.

create user pd_admin with encrypted password 'password';

grant all privileges on database product_design to pd_admin;

Redis Server

Open a new Terminal and start Redis Server with: -

redis-server

Redis CLI

Open a new Terminal and start Redis CLI with: -

redis-cli

RabbitMQ Server

Open a new Terminal and start RabbitMQ Server with: -

rabbitmq-server

Model Engine

Open a new Terminal and install Model Engine dependencies with: -

cd product-design/

bash src/model_engine/entrypoint.sh

And start Model Engine Server with: -

cd src/model_engine/

uvicorn server:app --host 0.0.0.0 --port 4000 --reload

Model Engine Celery

Open a new Terminal and start Model Engine Celery with: -

cd src/model_engine/

celery -A async_celery.app worker -c 1 -l info

Product Server

Open a new Terminal and install Product Server dependencies with: -

cd product-design/

bash src/product_design_server/entrypoint.sh

And start Product Server with: -

cd src/product_design_server/

python manage.py runserver

Product Server Celery

Open a new Terminal and start Product Server Celery with: -

cd src/product_design_server/

celery -A server_config.celery.app worker -c 1 -l info

Product UI

Open a new Terminal and install UI dependencies using: -

cd product-design/

bash src/product_design_ui/entrypoint.sh

And start the UI Server with: -

cd src/product_design_ui/product_design_ui/

npm start

About

Product Design is the service responsible for exploring different design patterns generated by GANs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published