1
0
forked from crony/UpFast

Compare commits

..

7 Commits

Author SHA1 Message Date
Raymaekers Luca
5d47eb3243 added new way of installing with script! 2023-04-04 18:37:35 +02:00
Raymaekers Luca
9f8afe5054 use italic font in <code> 2023-04-04 18:01:56 +02:00
Raymaekers Luca
edc99c3481 changed colors 2023-04-04 17:50:35 +02:00
Raymaekers Luca
8fdc68b441 fixed bold font 2023-04-04 16:24:53 +02:00
dcda0f372a Merge pull request 'fixed systemd commands markup' (#2) from TlasT/UpFast:main into main
Reviewed-on: crony/UpFast#2
Fix markup.
2023-03-26 15:49:48 +00:00
09d2c4f863 Add contributor. 2023-03-26 17:39:48 +02:00
9abd361c7f Merge pull request 'readme' (#1) from TlasT/UpFast:readme into main
Reviewed-on: crony/UpFast#1
Changes are all good don't worry. Nothing really ambitious there.
2023-03-26 15:17:21 +00:00
6 changed files with 18 additions and 32 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
__pycache__ __pycache__
upload upload
env venv

View File

@ -29,9 +29,6 @@ source env/bin/activate
# Install all the requirements # Install all the requirements
pip install -r requirements.txt pip install -r requirements.txt
# Load environment by default
echo "source /usr/local/upfast/venv/bin/activate" > "/usr/local/upfast/.profile"
# create the upload directory # create the upload directory
mkdir upload mkdir upload
@ -99,3 +96,7 @@ server {
} }
} }
``` ```
# Contributions
Thanks [TLasT](https://craftmenners.men) on his help with testing and documentation.

View File

@ -5,8 +5,7 @@ html {
body { body {
max-width: 900px; max-width: 900px;
margin: auto; margin: auto;
background: #303446; background: #81a1c1;
color: #c6d0f5;
} }
h1 { h1 {
@ -16,7 +15,7 @@ h1 {
hr { hr {
margin: 40px; margin: 40px;
color: #626880; color: #2e3440;
} }
img { img {
@ -34,9 +33,9 @@ video {
} }
a { a {
color: #f2d5cf; color: #ebcb8b;
text-decoration: none; text-decoration: none;
font-style: bold; font-weight: bold;
padding: 5px; padding: 5px;
} }
@ -45,7 +44,7 @@ a:hover {
} }
pre { pre {
background: #292c3c; background: #2e3440;
font-size: 1am; font-size: 1am;
padding: 10px; padding: 10px;
max-width: 800; max-width: 800;
@ -54,6 +53,7 @@ pre {
overflow-x: scroll; overflow-x: scroll;
border: none; border: none;
border-radius: 1rem; border-radius: 1rem;
color: #88c0d0;
} }
.file { .file {

View File

@ -1,8 +1,7 @@
body { body {
max-width: 900px; max-width: 900px;
margin: auto; margin: auto;
background: #303446; background: #81a1c1;
color: #c6d0f5;
} }
@ -12,9 +11,9 @@ h1 {
} }
a { a {
color: #f2d5cf; color: #ebcb8b;
text-decoration: none; text-decoration: none;
font-style: bold; font-weight: bold;
padding: 5px; padding: 5px;
} }
@ -23,8 +22,9 @@ a:hover {
} }
code { code {
background: #414559; background: #88c0d0;
border-radius: 10px; border-radius: 10px;
font-size: 105%; font-size: 105%;
font-style: italic;
padding: 2px; padding: 2px;
} }

View File

@ -1,15 +0,0 @@
server {
listen 80;
listen [::]:80;
server_name upfast.example.com ;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
proxy_buffering off;
}
}

View File

@ -22,6 +22,6 @@ git clone https://git.craftmenners.men/upfast .
python3 -m venv env python3 -m venv env
. ./env/bin/activate . ./env/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
mkdir upload' mkdir upload '
systemctl enable --now upfast.service systemctl enable --now upfast.service