You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
winkidney a59f3cf9eb Feature: Built django-images into Pinry 6 年之前
core Fix: Upgrade django to 1.11 LTS 6 年之前
django_images Feature: Built django-images into Pinry 6 年之前
pinry Fix: Upgrade django to 1.11 LTS 6 年之前
users Fix: Upgrade django to 1.11 LTS 6 年之前
.gitignore Swap over to suggesting the use of .venv instead of the home dir for virtualenv 7 年之前
.travis.yml Update travis config 6 年之前
Dockerfile Swap to new settings structure and start adding docker files directly to project 6 年之前
LICENSE Update license to 2018 and plaintext 6 年之前
Pipfile Feature: Built django-images into Pinry 6 年之前
Pipfile.lock Feature: Built django-images into Pinry 6 年之前
README.rst Fix Timestrap => Pinry typo 6 年之前
docker-compose.yml Swap to new settings structure and start adding docker files directly to project 6 年之前
logo.png Updated requirements and other items in preps of new pinry version 11 年之前
manage.py Swap to new settings structure and start adding docker files directly to project 6 年之前

README.rst

|Pinry|
=======

The open-source core of Pinry, a tiling image board system for people
who want to save, tag, and share images, videos and webpages in an easy
to skim through format.

For more information and a working demo board visit `getpinry.com`_.


Requirements
------------

Pinry is built on top of Django and optimized to run on a Linux
environment. However we have gotten Pinry to work on Windows and Mac as
well but it may require some extra digging around configuration. Pinry's
Python requirements are all in the ``Pipfile`` file. You can easily install
these using pipenv, to get pipenv, if you already have Python and pip, run
python ``pip install pipenv``.


Testing
-------

We have many tests built into Pinry to ensure that changes don't break
anything. If you are live dangerously and have cutting edge new Pinry
features first you can use our master branch for your own instance. We
recommend using our tags/versions though.

To run Pinry's tests inside the Pinry repo run::

pipenv install --dev --three
pipenv run python manage.py test


Docker
------

Follow the steps below to install Pinry locally or on any server. This
process installs the minimal requirements to run Pinry. For development
requirements and procedures, see testing above.

- Install the requirements:
- Docker
- Docker Compose

- Set any custom configuration options you need and run::

docker-compose up -d

- Bootstrap the database::

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


Linting
-------

So everything isn't a mess::

pipenv run flake8 --exclude=migrations


Contributors
------------

The core contributors for Pinry have been/currently are:

* Isaac Bythewood <http://isaacbythewood.com/>
* Krzysztof Klimonda
* Lapo Luchini <https://github.com/lapo-luchini>

For a full list of contributors check out the `GitHub Contributors Graph`_.


.. Links

.. |Pinry| image:: https://raw.github.com/pinry/pinry/master/logo.png
.. _getpinry.com: http://getpinry.com/
.. _docker-pinry GitHub repository: https://github.com/pinry/docker-pinry
.. _GitHub Contributors Graph: https://github.com/pinry/pinry/graphs/contributors