Browse Source

Update README for new Docker install

pull/121/head
Isaac Bythewood 6 years ago
parent
commit
c266cdbd32
1 changed files with 21 additions and 11 deletions
  1. +21
    -11
      README.rst

+ 21
- 11
README.rst View File

@@ -35,23 +35,33 @@ To run Pinry's tests inside the Pinry repo run::
pipenv run python manage.py test


Linting
-------
Docker
------

So everything isn't a mess::
Follow the steps below to install Timestrap locally or on any server. This
process installs the minimal requirements to run Pinry. For development
requirements and procedures, see testing above.

pipenv run flake8 --exclude=migrations
1. Install the requirements:
- Docker
- Docker Compose

1. Set any custom configuration options you need and run::

docker-compose up -d

1. Bootstrap the database and creates the initial site and user
(username: admin, password: admin)::

Production Deployment
---------------------
docker-compose exec web python3 manage.py migrate --settings=pinry.settings.docker

Our supported and suggested way to deploy Pinry is using Docker. We
provide support and instructions for that over at the `docker-pinry
GitHub repository`_.

If you'd like a different setup then check out the hundreds of tutorials
for production Django deployment found via Google.
Linting
-------

So everything isn't a mess::

pipenv run flake8 --exclude=migrations


Contributors


Loading…
Cancel
Save