Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit c81056d

Browse files
authored
Merge pull request #63 from NBprojekt/feature/readme
Create some basic readme files
2 parents 9920c94 + 3064d83 commit c81056d

2 files changed

Lines changed: 177 additions & 0 deletions

File tree

README.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<p align="center">
2+
<a href="https://github.com/nbprojekt/stack-app">
3+
<img src="./resources/icon.png" width="150">
4+
</a>
5+
</p>
6+
7+
<h2 align="center"> <b> Stack App </b> </h2>
8+
<h4 align="center"> A lightweight frontend for all Stack Exchange sited for Android and iOS. </h4>
9+
10+
[//]: # (Pipes)
11+
<p align="center">
12+
<a href="https://github.com/nbprojekt/stack-app/releases/latest" alt="App Version">
13+
<img src="https://img.shields.io/badge/dynamic/json?color=informational&label=version&query=tag_name&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnbprojekt%2Fstackapp%2Freleases%2Flatest">
14+
</a>
15+
16+
<a href="https://github.com/NBprojekt/stack-app/actions?query=workflow%3A%22Github+CI%22">
17+
<img src="https://github.com/nbprojekt/stack-app/workflows/Github%20CI/badge.svg" alt="Ionic CI Status">
18+
</a>
19+
20+
<a href="https://github.com/NBprojekt/stack-app/actions?query=workflow%3A%22Android%22">
21+
<img src="https://github.com/nbprojekt/stack-app/workflows/Android/badge.svg" alt="Android">
22+
</a>
23+
24+
<a href="">
25+
<img src="https://img.shields.io/badge/iOS-comming%20soon-lightgrey" alt="iOS">
26+
</a>
27+
</p>
28+
29+
<hr>
30+
31+
[//]: # ()
32+
<p align="center">
33+
<a href="#description"> Description </a> &bull;
34+
<a href="#screenshots"> Screenshots </a> &bull;
35+
<a href="#bugs-and-features"> Bugs and features </a> &bull;
36+
<a href="#development"> Development </a> &bull;
37+
<a href="#contributing"> Contributing </a> &bull;
38+
<a href="#donate"> Donate </a> &bull;
39+
<a href="#license"> License </a>
40+
</p>
41+
42+
<hr>
43+
44+
> WARNING: THIS IS A BETA VERSION, THEREFORE YOU MAY ENCOUNTER BUGS. IF YOU DO, OPEN AN ISSUE VIA OUR GITHUB REPOSITORY.
45+
46+
## Description
47+
48+
## Screenshots
49+
<div align="center" width="100%">
50+
<img width="32%" src="https://user-images.githubusercontent.com/24683383/110446790-d8d6d980-80bf-11eb-83d3-ad24c9abf452.png">
51+
<img width="32%" src="https://user-images.githubusercontent.com/24683383/110446810-de342400-80bf-11eb-8e1b-4d63fdccb135.png">
52+
<img width="32%" src="https://user-images.githubusercontent.com/24683383/110446802-dc6a6080-80bf-11eb-8f19-084097a1a962.png">
53+
</div>
54+
55+
56+
## Bugs and features
57+
Found a bug? Explosions (that would be cool)? Do you want a new feature? Use the [issue tracker][1] here on GitHub to report issues and submit feature requests.
58+
59+
Search for your problem in the [issue section][1] before opening a new ticket. It might be already answered and save us time.<br>
60+
Before sumbitting a ticket read the [contribution guidelines][4]
61+
62+
If not, use our templates for [bugs reports][2] and [feature requests][3]. <br>
63+
You will be asked some questions and requested to provide some information, please read them CAREFULLY and answer honestly.
64+
65+
## Development
66+
This project requires [NodeJs][6] (>= v10.x.x) to run.
67+
68+
Clone the project `https://github.com/NBprojekt/stack-app.git` and run `sudo npm run installation`.
69+
Now you can launch the app by running `sudo npm start`.
70+
71+
```
72+
git clone https://github.com/NBprojekt/stack-app.git
73+
cd stack-app
74+
sudo npm run installation
75+
sudo npm start
76+
```
77+
78+
If you want to learn more about the scripts in this project check out the [script readme][8].
79+
> If you use windows make sure you are able to run bash scripts. You can simply install [gitbash][7].
80+
81+
## Contributing
82+
Thanks for your interest in contributing! Read up on our guidelines for [contributing][4] and then look through our issues with a [help wanted][5] label.
83+
84+
## Donate
85+
86+
## License
87+
88+
Stack App is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the [MIT License][9].
89+
90+
[//]: # (Links)
91+
[1]: https://github.com/nbprojekt/stack-app/issues
92+
[2]: https://github.com/NBprojekt/stack-app/issues/new?assignees=&labels=bug&template=bug-report.md&title=
93+
[3]: https://github.com/NBprojekt/stack-app/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=
94+
[4]: https://github.com/NBprojekt/stack-app/blob/master/.github/CONTRIBUTING.md
95+
[5]: https://github.com/NBprojekt/stack-app/labels/help%20wanted
96+
[6]: https://nodejs.org/en/
97+
[7]: https://gitforwindows.org/
98+
[8]: https://github.com/NBprojekt/stack-app/blob/Feature-create-readme/scripts/README.md
99+
[9]: https://github.com/NBprojekt/stack-app/blob/master/LICENSE

scripts/README.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
## Scripts
2+
3+
Overview of all available scripts and options.
4+
5+
+ [Install](#install)
6+
+ [Start](#start)
7+
+ [Test](#test)
8+
+ [Lint](#lint)
9+
+ [Build](#build)
10+
+ [Emulate](#emulate)
11+
+ [Debug](#debug)
12+
+ [Sign](#sign)
13+
14+
15+
### Install
16+
If you just cloned this repository run this command. It will install all dependencies and configure cordova.
17+
You have also the option to add platforms Android and iOS.
18+
19+
> Note: [Ionic][1] and [Cordova][2] get installed globaly
20+
```
21+
npm run installation
22+
```
23+
24+
### Start
25+
Starts up ionic on `localhost:8100` and opens a new browser tab with the application.
26+
```
27+
npm start
28+
```
29+
30+
### Test
31+
Start angular karma unit test.
32+
33+
```
34+
npm test
35+
```
36+
37+
### Lint
38+
Start linting according to your `tslint.json`.
39+
40+
```
41+
npm run lint
42+
```
43+
44+
### Build
45+
Build the app for `-a` Android (default) or `-i` iOS.
46+
Outputfile can be found in `./platforms/android/app/build/outputs/apk/debug/`.
47+
48+
```
49+
npm run build -- -a
50+
```
51+
52+
### Emulate
53+
Emulate the app for `-a` Android (default) or `-i` iOS on a virtual device.
54+
Also livereload is anabled and logs are displayed in the console.
55+
56+
```
57+
npm run emulate -- -a
58+
```
59+
60+
### Debug
61+
just like the [emulate](#emulate) command only that it runs on a real device.
62+
Also livereload is anabled and logs are displayed in the console.
63+
64+
```
65+
npm run debug -- -a
66+
```
67+
68+
### Sign
69+
Automatically building and signing an APK with a given key.
70+
Outputfile can be found in `./platforms/android/app/build/outputs/apk/release/stack-app.apk`.
71+
72+
```
73+
npm run sign -- myKey
74+
```
75+
76+
77+
[1]: https://www.npmjs.com/package/ionic
78+
[2]: https://www.npmjs.com/package/cordova

0 commit comments

Comments
 (0)