deck/README.md

130 строки
5.6 KiB
Markdown
Исходник Обычный вид История

2016-06-05 16:07:47 +03:00
# Deck
[![Build Status](https://travis-ci.org/nextcloud/deck.svg?branch=master)](https://travis-ci.org/nextcloud/deck) [![CodeCov](https://codecov.io/github/nextcloud/deck/coverage.svg?branch=master)](https://codecov.io/github/nextcloud/deck) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/e403f723f42a4abd93b2cfe36cbd7eee)](https://www.codacy.com/app/juliushaertl/deck?utm_source=github.com&utm_medium=referral&utm_content=nextcloud/deck&utm_campaign=Badge_Grade) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/deck/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/deck/?branch=master) [![#nextcloud-deck](https://img.shields.io/badge/IRC-%23nextcloud--deck%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-deck)
2017-05-01 15:16:10 +03:00
2016-06-05 16:07:47 +03:00
2017-02-01 17:57:37 +03:00
Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.
2017-01-18 21:08:49 +03:00
- :inbox_tray: Add your tasks to cards and put them in order
- :page_facing_up: Write down additional notes in markdown
2017-02-01 17:57:37 +03:00
- :bookmark: Assign labels for even better organization
2017-01-18 21:08:49 +03:00
- :busts_in_silhouette: Share with your team, friends or family
- :family: Integrates with the [Circles](https://github.com/nextcloud/circles) app!
2018-10-09 19:06:15 +03:00
- :paperclip: Attach files and embed them in your markdown description
- :speech_balloon: Discuss with your team using comments
- :zap: Keep track of changes in the activity stream
2017-01-18 21:08:49 +03:00
- :rocket: Get your project organized
2020-03-03 13:46:34 +03:00
### Mobile apps
- The [Nextcloud Deck app for Android](https://github.com/stefan-niedermann/nextcloud-deck) is available in the [Google Play Store](https://play.google.com/store/apps/details?id=it.niedermann.nextcloud.deck.play)
2017-02-01 17:57:37 +03:00
2020-05-06 10:49:02 +03:00
![Deck - Manage cards on your board](http://download.bitgrid.net/nextcloud/deck/screenshots/1.0/Deck-2.png)
2017-01-18 21:08:49 +03:00
2016-07-08 09:49:23 +03:00
## Installation/Update
2018-10-09 19:06:15 +03:00
This app is supposed to work on the two latest Nextcloud versions.
2017-01-18 21:08:49 +03:00
### Install latest release
2017-02-06 02:07:59 +03:00
You can download and install the latest release from the [Nextcloud app store](https://apps.nextcloud.com/apps/deck)
2017-01-18 21:08:49 +03:00
### Install from git
2016-07-08 09:49:23 +03:00
2016-07-08 10:14:22 +03:00
If you want to run the latest development version from git source, you need to clone the repo to your apps folder:
```
git clone https://github.com/nextcloud/deck.git
2016-07-08 10:14:22 +03:00
cd deck
2017-01-31 18:12:11 +03:00
make install-deps
2018-10-09 19:06:15 +03:00
make build
2016-07-08 10:14:22 +03:00
```
2018-10-09 19:06:15 +03:00
Please make sure you have installed the following dependencies: `make, which, tar, npm, curl, composer`
2016-07-08 09:49:23 +03:00
2017-04-30 14:07:49 +03:00
### Install the nightly builds
Instead of setting everything up manually, you can just [download the nightly build](https://github.com/nextcloud/deck/releases/tag/nightly) instead. These builds are updated every 24 hours, and are pre-configured with all the needed dependencies.
2017-04-30 14:07:49 +03:00
2016-07-08 09:49:23 +03:00
## Developing
2016-07-08 10:14:22 +03:00
### PHP
2017-01-18 21:08:49 +03:00
Nothing to prepare, just dig into the code.
2016-07-08 10:14:22 +03:00
### JavaScript
2016-07-08 09:49:23 +03:00
2018-05-12 13:49:14 +03:00
Deck requires running a `make build-js` to install npm dependencies and build the JavaScript code using webpack. While developing you can also use `make watch` to rebuild everytime the code changes.
2016-07-08 09:49:23 +03:00
#### Hot reloading
Enable debug mode in your config.php `'debug' => true,`
Without SSL:
```
npx webpack-dev-server --config webpack.hot.js \
--public localhost:3000 \
--output-public-path 'http://localhost:3000/js/'
```
With SSL:
```
npx webpack-dev-server --config webpack.dev.js --https \
--cert ~/repos/nextcloud/nc-dev/data/ssl/nextcloud.local.crt \
--key ~/repos/nextcloud/nc-dev/data/ssl/nextcloud.local.key \
--public nextcloud.local:3000 \
--output-public-path 'https://nextcloud.local:3000/js/'
```
2017-01-31 18:12:11 +03:00
### Running tests
2016-06-05 16:07:47 +03:00
You can use the provided Makefile to run all tests by using:
make test
2018-11-06 21:53:53 +03:00
### Documentation
2018-11-06 21:53:53 +03:00
The documentation for our REST API can be found at https://deck.readthedocs.io/en/latest/API/
2017-03-04 14:47:26 +03:00
## Contribution Guidelines
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
For more information please review the [guidelines for contributing](https://github.com/nextcloud/server/blob/master/.github/CONTRIBUTING.md) to this repository.
2017-03-04 14:47:26 +03:00
### Apply a license
All contributions to this repository are considered to be licensed under
the GNU AGPLv3 or any later version.
Contributors to the Deck app retain their copyright. Therefore we recommend
2017-03-04 14:47:26 +03:00
to add following line to the header of a file, if you changed it substantially:
```
@copyright Copyright (c) <year>, <your name> (<your email address>)
```
For further information on how to add or update the license header correctly please have a look at [our licensing HowTo][applyalicense].
### Sign your work
We use the Developer Certificate of Origin (DCO) as a additional safeguard
for the Nextcloud project. This is a well established and widely used
mechanism to assure contributors have confirmed their right to license
their contribution under the project's license.
Please read [developer-certificate-of-origin][dcofile].
If you can certify it, then just add a line to every git commit message:
````
Signed-off-by: Random J Developer <random@developer.example.org>
````
Use your real name (sorry, no pseudonyms or anonymous contributions).
If you set your `user.name` and `user.email` git configs, you can sign your
commit automatically with `git commit -s`. You can also use git [aliases](https://git-scm.com/book/tr/v2/Git-Basics-Git-Aliases)
like `git config --global alias.ci 'commit -s'`. Now you can commit with
`git ci` and the commit will be signed.
[dcofile]: https://github.com/nextcloud/server/blob/master/contribute/developer-certificate-of-origin
[applyalicense]: https://github.com/nextcloud/server/blob/master/contribute/HowToApplyALicense.md