mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 15:13:06 +11:00
merge master into dp4
Signed-off-by: Darren <git@darrennathanael.com>
This commit is contained in:
parent
f27e439ad0
commit
6e5d3c8489
29 changed files with 84 additions and 44 deletions
25
.github/workflows/building.yml
vendored
Normal file
25
.github/workflows/building.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: Python CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install tox-travis coverage codacy-coverage
|
||||
- name: Test with tox
|
||||
run: |
|
||||
tox
|
26
.github/workflows/dockerimage.yml
vendored
Normal file
26
.github/workflows/dockerimage.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
name: Check out code
|
||||
|
||||
- uses: mr-smithers-excellent/docker-build-push@v5
|
||||
name: Build & push Docker image
|
||||
with:
|
||||
image: darrenofficial/dpaste
|
||||
registry: docker.io
|
||||
tags: latest
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
4
.python-version
Normal file
4
.python-version
Normal file
|
@ -0,0 +1,4 @@
|
|||
3.8.0
|
||||
3.7.5
|
||||
3.6.9
|
||||
3.5.8
|
23
README.md
Normal file
23
README.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
Dpaste
|
||||
---
|
||||
![dpaste image](https://img.shields.io/pypi/v/dpaste.svg)
|
||||
![building](https://travis-ci.org/bartTC/dpaste.svg?branch=master)
|
||||
![Code Quality](https://api.codacy.com/project/badge/Grade/185cfbe9b4b447e59a40f816c4a5ebf4)
|
||||
|
||||
----
|
||||
|
||||
📖 Full documentation on [https://docs.dpaste.org](https://docs.dpaste.org)
|
||||
|
||||
|
||||
dpaste is a [pastebin](https://en.wikipedia.org/wiki/Pastebin) application written in [Python](https://www.python.org/) using the [Django](https://www.djangoproject.com/) framework. You can find a live installation on [dpaste.org.](https://dpaste.org)
|
||||
|
||||
The project is intended to run standalone as any regular Django Project, but it's also possible to install it into an existing project as a typical Django application.
|
||||
|
||||
|
||||
The code is open source and available on Github: [https://github.com/darrenofficial/dpaste](https://github.com/darrenofficial/dpaste). If you found bugs, have problems or ideas with the project or the website installation, please create an *Issue* there.
|
||||
|
||||
⚠️ dpaste requires at a minimum Python 3.6 and Django 2.2.
|
||||
|
||||
|
||||
dpaste.org: https://dpaste.org/
|
||||
pastebin: https://en.wikipedia.org/wiki/Pastebin
|
39
README.rst
39
README.rst
|
@ -1,39 +0,0 @@
|
|||
======
|
||||
dpaste
|
||||
======
|
||||
|
||||
.. image:: https://img.shields.io/pypi/v/dpaste.svg
|
||||
:target: https://pypi.org/project/dpaste/
|
||||
|
||||
.. image:: https://travis-ci.org/bartTC/dpaste.svg?branch=master
|
||||
:target: https://travis-ci.org/bartTC/dpaste
|
||||
|
||||
.. image:: https://api.codacy.com/project/badge/Coverage/185cfbe9b4b447e59a40f816c4a5ebf4
|
||||
:target: https://www.codacy.com/app/bartTC/dpaste
|
||||
|
||||
.. image:: https://api.codacy.com/project/badge/Grade/185cfbe9b4b447e59a40f816c4a5ebf4
|
||||
:target: https://www.codacy.com/app/bartTC/dpaste
|
||||
|
||||
----
|
||||
|
||||
📖 Full documentation on https://dpaste.readthedocs.io/
|
||||
|
||||
dpaste is a pastebin_ application written in Python using the Django
|
||||
framework. You can find a live installation on `dpaste.de`_.
|
||||
|
||||
.. image:: https://raw.githubusercontent.com/bartTC/dpaste/master/docs/_static/dpaste_de_screenshot.png
|
||||
:alt: A screenshot of https://dpaste.de/
|
||||
:width: 60%
|
||||
|
||||
The project is intended to run standalone as any regular Django Project,
|
||||
but it's also possible to install it into an existing project as a typical
|
||||
Django application.
|
||||
|
||||
The code is open source and available on Github: https://github.com/bartTC/dpaste.
|
||||
If you found bugs, have problems or ideas with the project or the website installation,
|
||||
please create an *Issue* there.
|
||||
|
||||
⚠️ dpaste requires at a minimum Python 3.6 and Django 2.2.
|
||||
|
||||
.. _dpaste.de: https://dpaste.de/
|
||||
.. _pastebin: https://en.wikipedia.org/wiki/Pastebin
|
|
@ -34,9 +34,6 @@ services:
|
|||
- data_db:/db
|
||||
ports:
|
||||
- "8000:8000"
|
||||
command: mkdir -p dpaste/static
|
||||
command: make css
|
||||
command: make js
|
||||
command: ./manage.py runserver 0:8000
|
||||
|
||||
migration:
|
||||
|
@ -46,7 +43,6 @@ services:
|
|||
- .:/app:delegated
|
||||
- data_db:/db
|
||||
|
||||
|
||||
volumes:
|
||||
data_db:
|
||||
data_collectstatic:
|
||||
|
|
BIN
dpaste/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
dpaste/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/__pycache__/apps.cpython-310.pyc
Normal file
BIN
dpaste/__pycache__/apps.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/__pycache__/forms.cpython-310.pyc
Normal file
BIN
dpaste/__pycache__/forms.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/__pycache__/highlight.cpython-310.pyc
Normal file
BIN
dpaste/__pycache__/highlight.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/__pycache__/models.cpython-310.pyc
Normal file
BIN
dpaste/__pycache__/models.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/__pycache__/views.cpython-310.pyc
Normal file
BIN
dpaste/__pycache__/views.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/__pycache__/wsgi.cpython-310.pyc
Normal file
BIN
dpaste/__pycache__/wsgi.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/management/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
dpaste/management/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/migrations/__pycache__/0001_initial.cpython-310.pyc
Normal file
BIN
dpaste/migrations/__pycache__/0001_initial.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
dpaste/migrations/__pycache__/0007_snippet_rtl.cpython-310.pyc
Normal file
BIN
dpaste/migrations/__pycache__/0007_snippet_rtl.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/migrations/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
dpaste/migrations/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/settings/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
dpaste/settings/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/settings/__pycache__/base.cpython-310.pyc
Normal file
BIN
dpaste/settings/__pycache__/base.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/urls/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
dpaste/urls/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/urls/__pycache__/dpaste.cpython-310.pyc
Normal file
BIN
dpaste/urls/__pycache__/dpaste.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dpaste/urls/__pycache__/dpaste_api.cpython-310.pyc
Normal file
BIN
dpaste/urls/__pycache__/dpaste_api.cpython-310.pyc
Normal file
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "dpaste",
|
||||
"version": "4.0.0",
|
||||
"version": "3.0.0",
|
||||
"repository": "https://github.com/bartTC/dpaste",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
5
renovate.json
Normal file
5
renovate.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"extends": [
|
||||
"config:base"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue