Skip to content

OnSebii/FileShare

Repository files navigation

FileShare

This project was developed by Dominik and Sebastian. Share your files on our website or host it on your own. If you want to set up our project on your own server, download our project from Github. Check out our installation guide for more informations.

Getting started

Installing NodeJs

You will need NodeJs ( > version 14.0 ) and npm. To check whether it's already installed on your system, open up a terminal window and type node -v or npm -v at the command prompt. For example, you should see something similar to the following:

node -v
v14.10.0

npm -v
6.14.10

Installing PostgreSQL

You also need PostgreSQL as Database. Download PostgreSQL for your operating system. After downloading PostgreSQL, follow the next steps to import the database. Here you can download the database.

If you have downloaded PostgreSQL and our SQL File you can start to import the database. Type this into your console:

psql -U username < database_v2.sql

Installing FileShare

To create your own FileShare and serve it locally just follow the next steps below.

git clone https://github.com/OnSebii/FileShare MY-OWN-FILESHARE
cd MY-OWN-FILESHARE
npm run serve

If everything worked you should see the website when you type localhost:8080 in your browser.

Build FileShare

You can easily build this project and upload it to your own server.

cd MY-OWN-FILESHARE
npm run build

Bug reports

If you encounter any errors, report them in Github issues tab.

Github ToDo

  • Rework readme links