- For development purposes install
pipenv
(for system, not for current environment) - Install docker and docker-compose
- Create
.env
file where you need to define variables like in env.example file: - Update
postgres.env
file and specify next variables(necessary for configuring docker container with postgres):
POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_DB
- Install wkhtmltopdf for mac
brew cask install wkhtmltopdf
- For activation env
pipenv shell
- Install packages
pipenv install
- For activation env
pipenv shell
Now you can use shortcuts:
pipenv run db
- run container with DBpipenv run api
- run container with API
endpoint http://localhost:8000/api/v1/convert/html POST request with body link
or file