Skip to content

Commit

Permalink
Add styling improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewying committed Dec 19, 2018
1 parent b187907 commit 015d9b6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
15 changes: 7 additions & 8 deletions .github/ISSUE_TEMPLATE/1_bug_report.md
@@ -1,7 +1,6 @@
---
name: "Bug Report"
about: Create a report to help us improve

---

#### Describe the bug
Expand All @@ -21,15 +20,15 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

#### Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- OS: [e.g. iOS]
- Browser: [e.g. chrome, safari]
- Version: [e.g. 22]

#### Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser: [e.g. stock browser, safari]
- Version: [e.g. 22]

#### Additional context
Add any other context about the problem here.
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -10,29 +10,29 @@ Copyright © Andrew Ying and [other contributors](https://github.com/jano-ma
2016-2018.

## Installing
* Clone repository and install dependencies
* Clone repository and install dependencies
```bash
git clone https://github.com/jano-may-ball/ticketing.git
cd ticketing
composer install --no-dev
npm install
```
* Stylesheet can be customised by editing `resources/assets/sass/_variables.scss`
* Complie stylesheet and scripts
* Stylesheet can be customised by editing `resources/assets/sass/_variables.scss`
* Complie stylesheet and scripts
```bash
npm run production
```
* Edit the configuration file at `.env` and `storage/settings.hjson`
* Generate the public and private keys for OAuth authentication
* Edit the configuration file at `.env` and `storage/settings.hjson`
* Generate the public and private keys for OAuth authentication
```bash
openssl genpkey -algorithm RSA -out storage/oauth-private.key -pkeyopt rsa_keygen_bits:2048
openssl rsa -in storage/oauth-private.key -outform PEM -pubout -out storage/oauth-public.key
```
* Create tables required by the application
* Create tables required by the application
```bash
php jano migrate
```
* Point web server to `public` directory and **you're done**!
* Point web server to `public` directory and **you're done**!

If you do not want to have to worry about the dependencies, you can also use the Docker image [janomayball/ticketing](https://hub.docker.com/r/janomayball/ticketing).

Expand Down
17 changes: 9 additions & 8 deletions app/Composer/InstallerPlugin.php
Expand Up @@ -6,17 +6,18 @@
* This file is part of Jano Ticketing System.
*
* Jano Ticketing System is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License v3.0 as
* published by the Free Software Foundation. You must preserve all legal
* notices and author attributions present.
* modify it under the terms of the GNU Affero General Public License
* v3.0 as published by the Free Software Foundation. You must preserve
* all legal notices and author attributions present.
*
* Jano Ticketing System is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/>.
*/

namespace Jano\Composer;
Expand All @@ -29,11 +30,11 @@ class InstallerPlugin implements PluginInterface
{
/**
* @param \Composer\Composer $composer
* @param \Composer\IO\IOInterface $io
* @param \Composer\IO\IOInterface $interface
*/
public function activate(Composer $composer, IOInterface $io)
public function activate(Composer $composer, IOInterface $interface)
{
$installer = new PackageInstaller($io, $composer);
$installer = new PackageInstaller($interface, $composer);
$composer->getInstallationManager()->addInstaller($installer);
}
}

0 comments on commit 015d9b6

Please sign in to comment.