Skip to content
pomf-like file upload website fork of https://github.com/myblt/myblt-website
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
deploy/nginx
public
.bowerrc skel Jun 19, 2015
.gitignore
LICENSE Initial commit Jun 19, 2015
README.md
bower.json
database.py server code is good code Apr 5, 2016
models.py add Invite codes and register screen Dec 14, 2017
myblt.py remove prints Dec 14, 2017
requirements.txt

README.md

maro.xyz-website

My blt provides a simple platform for general file upload. It features a public and private mode.

A cli client can be used to upload files or directly via the website.

Public mode

Everyone can upload and retreive files.

Private mode

Everyone can see files but only members can upload new files.

Hacking on maro.xyz

Requirements

  • Python 3
  • pip (Python3)
  • bower
  • nginx
  • virtualenv (recommended)
  • imagemagick

git clone git@github.com:maro.xyz/maro.xyz-website.git

cd maro.xyz-website

Create a virtualenv

virtualenv env

Active the virtualenv in the current shell

. env/bin/activate

pip install -r requirements.txt

bower install

cp deploy/nginx/maro.dev /etc/nginx/sites-enabled/

Change the config file /etc/nginx/sites-enabled/myb.lt to your repo's public/ folder

sudo systemctl reload nginx

"Temporary"

sudo sh -c "echo '127.0.0.1 test.maro.xyz api-test.maro.xyz' >> /etc/hosts"

Change the base href in index.html for development

<base href="http://test.maro.xyz/">

Start the application

python myblt.py

Profit !

firefox http://test.maro.xyz

You can’t perform that action at this time.