Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 
Ji Qu cdc536a01b
Fix: Fix syntax error in docker-compose file
5 роки тому
core Update logo location to use docs logos 5 роки тому
django_images Remove old south migrations 5 роки тому
docker Fix: Fix doc for production key location 5 роки тому
docs/src Fix: Should add more detail about current directory 5 роки тому
pinry Feature: Allow JsonRender only in production mode 5 роки тому
pinry-spa Update yarn deps 5 роки тому
users Update logo location to use docs logos 5 роки тому
.dockerignore Expanding docker ignore file 5 роки тому
.flake8 Update flake8 configuration 5 роки тому
.gitignore Remove old south migrations 5 роки тому
.travis.yml Fix: remove python 3.7(not exists on travis-ci) 5 роки тому
Dockerfile Feature: Remove app after all docker build job done 5 роки тому
Dockerfile.autobuild Fix: Fix argument error for django setting module 5 роки тому
LICENSE.md Update license year and swap to markdown 5 роки тому
Makefile Improve mkdocs conf, update makefile, ignore docs dist 5 роки тому
Pipfile Add black to dev deps 5 роки тому
Pipfile.lock Add black to dev deps 5 роки тому
README.md Update logo location to use docs logos 5 роки тому
docker-compose.example.yml Fix: Fix syntax error in docker-compose file 5 роки тому
manage.py Fix: Fix django development settingns again 5 роки тому
mkdocs.yml Add docs on development 5 роки тому
start_docker_with_current_user.sh Fix: Fix non-effect env 6 роки тому

README.md

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 visit getpinry.com.

Features

  • Image fetch and online preview
  • Tagging system for Pins
  • Browser Extensions
  • Multi-user support
  • Both public and private boards

Requirements

See our full documentation at https://docs.getpinry.com/development/

Development

See our full documentation at https://docs.getpinry.com/development/

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.

Current docker configuration will just mount source code directory to docker app directory and run any codes existed in current git branch, you may also add “local_settings.py” to customize settings without changing settings file in pinry/settings.

  • Install the requirements:

    • Docker
    • Docker Compose
  • Set any custom configuration options you need and run::

    cp docker-compose.example.yml docker-compose.yml

    edit docker-compose.yml and change the secret-key,

    don’t forget to backup this config file.

    docker-compose up -d

  • If you want to run Pinry with current user in docker::

    ./start_docker_with_current_user.sh [-d]

  • Bootstrap the database(optional)::

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

Note : No static file server configured, your should configure nginx or other server to serve static files from ./static

Contributors

The core contributors for Pinry have been/currently are:

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