Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.
/ uPste Public archive

A file hosting application with an emphasis on serving technology communities.

License

Notifications You must be signed in to change notification settings

TheReverend403/uPste

Repository files navigation

uPste

License

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

It is released under the GNU Affero General Public License.

The official demo of this site 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

Requirements

  • The ability to install Laravel.
  • Any database supported by Eloquent.
  • Composer.
  • Node.js (and npm).
  • 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.

git clone https://github.com/TheReverend403/uPste
cd uPste
composer install
npm install -g gulp # You may need to run this as root, unless you follow the instructions at https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
npm install
gulp --production

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.

php artisan migrate

The 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/

The other will be purely for serving the uploaded files. The root for this host should be $upste_root/storage/app/uploads

That's it, you're done! Now just navigate to your site and register.

The first user registered will be automatically enabled and made an admin, so take measures to make sure this is you.

Upgrading

Upgrading is easy. Just run the following commands, and make sure to check .env.example for any new config options you need to set.

cd /path/to/uPste
php artisan down
git pull
php artisan migrate
gulp
php artisan clear-compiled
php artisan cache:clear
php artisan view:clear
php artisan route:cache
php artisan config:cache
php artisan optimize

If everything went well and you didn't get any errors, you can now bring your site back online with php artisan up

About

A file hosting application with an emphasis on serving technology communities.

Resources

License

Stars

Watchers

Forks

Packages

No packages published