Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.01 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.01 KB

userProfile

todo

  • config hot reload action
  • complete readme
  • staging and canary support :)

Quick start & development

First, you need to create a database and user. Then export values of DATABASE_USER and DATABASE_PASSWORD to the shell. You can do this by following commands:

cp .sample.env .env
export $(xargs <.env)

In this case, you need to have a username and password just like those specified in .env file that you can successfully connect to DB.

Then you can build and serve project with these commands.

docker-compose up --force-recreate
make dependencies
make userProfile 

If there were issues on MacOS run the followings:

brew install librdkafk

echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> .zprofile
export 'PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/lib/pkgconfig"' >> .zprofile

If there were issues on make dependencies

1 - make sure your vpn is on :) 

after your work :

docker-compose down --remove-orphans -v