<commit_before>uPste
==========

![Language](https://img.shields.io/badge/language-PHP-blue.svg?style=flat-square)
[![License](https://img.shields.io/badge/license-AGPLv3-blue.svg?style=flat-square)](https://www.gnu.org/licenses/agpl-3.0.en.html)
[![IRC](https://img.shields.io/badge/chat-IRC-green.svg?style=flat-square)](https://qchat.rizon.net/?channels=leliana)
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=TheReverend403&url=https://github.com/TheReverend403/uPste&title=uPste&language=&tags=github&category=software)

uPste is a private file hosting application with an emphasis on serving technology communities.

It is released under the [GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html).

The official demo of this project is available at https://u.pste.pw, although not very useful without an account.

Interested in contributing, want some help or just have some questions? Join us on [irc.rizon.net in #leliana](https://qchat.rizon.net/?channels=leliana)

![Preview](https://a.pste.pw/2Z1.png)

# Requirements

* The PHP GD extension.
* The ability to install [Laravel](http://laravel.com/docs/5.1/installation).
* Any database supported by [Eloquent](http://laravel.com/docs/5.1/database#configuration).
* [Laravel Elixir](https://laravel.com/docs/5.1/elixir#installation).
* A little bit of command line experience.

# Installation

We'll assume you already have a database, setting that up is beyond the scope of this readme.

````bash
git clone https://github.com/TheReverend403/uPste
cd uPste
composer install # Installs laravel, all dependencies, npm dependencies, compiles assets and generates your app key.
````

Open .env in the root directory of uPste and edit the settings within to suit your site. Make sure to read what each one does, and feel free to ask if you're not sure.

````bash
php artisan migrate # Creates your database schema
````

The next, and last part is entirely dependent you and how you want to configure your webserver, 
but you're basically going to want two domains (or subdomains).  
One will be your site UI where users will register, login, and manage their uploads. The root for this host should be $upste_root/public/  <commit_msg>Update preview<commit_after>uPste
==========

![Language](https://img.shields.io/badge/language-PHP-blue.svg?style=flat-square)
[![License](https://img.shields.io/badge/license-AGPLv3-blue.svg?style=flat-square)](https://www.gnu.org/licenses/agpl-3.0.en.html)
[![IRC](https://img.shields.io/badge/chat-IRC-green.svg?style=flat-square)](https://qchat.rizon.net/?channels=leliana)
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=TheReverend403&url=https://github.com/TheReverend403/uPste&title=uPste&language=&tags=github&category=software)

uPste is a private file hosting application with an emphasis on serving technology communities.

It is released under the [GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html).

The official demo of this project is available at https://u.pste.pw, although not very useful without an account.

Interested in contributing, want some help or just have some questions? Join us on [irc.rizon.net in #leliana](https://qchat.rizon.net/?channels=leliana)

![Preview](https://a.pste.pw/2Z1.png)
![Uploads Preview](https://a.pste.pw/k3s.png)

# Requirements

* The PHP GD extension.
* The ability to install [Laravel](http://laravel.com/docs/5.1/installation).
* Any database supported by [Eloquent](http://laravel.com/docs/5.1/database#configuration).
* [Laravel Elixir](https://laravel.com/docs/5.1/elixir#installation).
* A little bit of command line experience.

# Installation

We'll assume you already have a database, setting that up is beyond the scope of this readme.

````bash
git clone https://github.com/TheReverend403/uPste
cd uPste
composer install # Installs laravel, all dependencies, npm dependencies, compiles assets and generates your app key.
````

Open .env in the root directory of uPste and edit the settings within to suit your site. Make sure to read what each one does, and feel free to ask if you're not sure.

````bash
php artisan migrate # Creates your database schema
````

The next, and last part is entirely dependent you and how you want to configure your webserver, 
but you're basically going to want two domains (or subdomains).  
One will be your site UI where users will register, login, and manage their uploads. The root for this host should be $upste_root/public/  
{'fraction_non_alphanumeric': 0.1269222438813082, 'fraction_numerical': 0.009746588693957114, 'mean_word_length': 4.920512820512821, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 27, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3243219', 'n_tokens_mistral': 1504, 'n_tokens_neox': 1433, 'n_words': 447}