companies API for UI development. Check out the project's documentation.
docker run --name postgres-db -e POSTGRES_PASSWORD=abc123 -e POSTGRES_USER=django -e POSTGRES_DB=djangodb -p 5432:5432 -d postgres
python manage.py runserver
run on dokku instance
dokku apps:create faker-companies
dokku config:set faker-companies DJANGO_SECRET_KEY=xxxxxxxx
dokku postgres:create djangodb
dokku postgres:link djangodb faker-companies
run on local machine
git remote add dokku dokku@dokku-dev:faker-companies
git push dokku master
run on dokku instance (SSL)
dokku config:set --no-restart faker-companies [email protected]
dokku letsencrypt:enable faker-companies
dokku letsencrypt:list
dokku letsencrypt:cron-job --add
sudo crontab -l -u dokku
full reference: https://gitlab.com/kakarukeys/reconnify/-/tree/master/devops