Giter Site home page Giter Site logo

uberspace / lab Goto Github PK

View Code? Open in Web Editor NEW
305.0 28.0 394.0 11.04 MB

The Uberlab provides various tutorials - written by you! - on how to run software and tools on Uberspace 7.

Home Page: https://lab.uberspace.de

License: Other

Makefile 2.86% CSS 9.72% HTML 13.71% Python 64.59% JavaScript 6.69% Batchfile 2.43%
uberspace7 uberspace uberlab laboratory guides setup-guide setup-tutorial hosting shared-hosting lab

lab's Introduction

Uberspace 7 Lab

Welcome to our laboratory! 🎉

This is where we host the source code of the official version over at https://lab.uberspace.de. The lab contains a collection of guides and tips on how to run specific software on Uberspace 7. Most of the guides are contributed by users like you! So, if you'd like to change or add something here, you're more than welcome to do so. Have a look at our contributing guidelines to learn how. Also, have a look at the list of guides people are looking for!

Prerequisites

You need to have installed:

Development

Pushing for each and every change is fun, but can take some time. To speed up your development process, the lab can be built locally.

Initial Setup

make setup

Building

source .venv/bin/activate
make clean html

The HTML views are now present in build/html.

Development Server

To build automatically on each change use sphinx-autobuild:

make clean serve

This will start a local webserver on http://127.0.0.1:8000, which always serves the most recent version.

Linting

To lint all files, you can use pre-commit:

make lint

Or just to check the guides for consistency:

make check-guides

Spellcheck

To check the spelling you can use the spell check function of Sphinx:

make spelling

Add Words to Guide

If your guide needs to use words, that should not go into the global dictionary (see below), you can flag them with the spelling directive like this (usually near the top of your guide):

.. spelling::
    passwörd
    anotherword

Add Words to Global Dictionary

  1. run make get-new-words to write a list of all spelling errors found to new_words.txt
  2. edit the resulting new_words.txt
    1. decide wich words to keep for the global dict,
    2. and wich might be better put into a guide local list (see the spelling directive above for that)
  3. if satisfied, run make add-new-words to merge them to the global dictionary
  4. commit your changes ✏️

License

All text and code in this repository is licensed under CC-BY-NC-SA 4.0. All project logos are property of the respective project.

lab's People

Contributors

927589452 avatar brutus avatar cblte avatar cmacht avatar d-sko avatar danielkratz avatar ebroda avatar ev21 avatar ezzra avatar franok avatar godmod avatar herzogmedia avatar jfowl avatar kimdiallo avatar kubiac avatar luto avatar maitrenageur avatar makomi avatar maltekrupa avatar mariusbertram avatar nichtmax avatar no-one avatar noave avatar pxlfrk avatar salocinhb avatar schneidr avatar systemsemaphore avatar taddydevil avatar thisven avatar tobimori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lab's Issues

add a guide for pretalx

Pretalx is a popular opensource event planning solution. It can be used to collect talks and workshops for small to medium sized events. Being a django application it is fairly easy to deploy. Follow the official guide and credit it.

Standardpaths

Are there standard paths we can assume for the letsencrypt certs and similiar things?
If so they should probably be mentioned in sources/README.md

add a guide for podlove

Add a guide to install podlove on top of an existing wordpress installation. Mention podseed for the actual audio files, so users do not overwhelm the traffic and storage of their spaces.

Improve Ghost logo

The logo used in the Ghost guide ia a PNG with white-background which doesn't look in the logo area. Replace it with a transparent version instead.

WordPress: install and manage/update with wp-cli

What do you think about a more modern approach to managing WordPress with the official WordPress command line interface wp-cli? It offers commands to not only install and update the WordPress core but also plugins and themes.

Here's a simple example from the wp-cli docs to download and install WordPress:

# Download WordPress core
$ wp core download --locale=nl_NL
Downloading WordPress 4.5.2 (nl_NL)...
md5 hash verified: c5366d05b521831dd0b29dfc386e56a5
Success: WordPress downloaded.

# Install WordPress
$ wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword [email protected]
Success: WordPress installed successfully.

add tags

Some tags like PHP, Node.js, Blog, Calendar, Contacts, etc. would be nice.

add a guide for pretix

Pretix is a popular opensource ticketing solution. It can be used to sell tickets for workshops, events or even just limit the number of people for a free event. Being a django application it is fairly easy to deploy. There is an existing, recent guide for U6. Kindly ask the author for permission, credit them in the guide, port it to U7 and replace sqlite with mysql.

Explicit Folders

Should guides create directories for files explicitly to make the easier to use for beginners?

center logo

due to the rocket the logo on the left is is not centered anymore. Fix with CSS:

.wy-side-nav-search { background-position-x: 1.8em; }

git clone without history?

Should git clone commands be used wit --depth 1 to omit history data? Most of the users wont need them, and if so they would know how to get them.
Sometimes commit histories are quite large and downloading them again and again just creates traffic and harms the environment ;)

add sidebar to Wordpress

Should contain the following information:

Tested Wordpress version
Tested Uberspace 7 version

How about software that requires a licence?

The old cool stuff and the guides written were primarely focused on free and open source software. But there are e.g. CMS like Kirby that require a licence to be used in production. Before I start working on a guide I would like to ask if this is ok for the Uberspace staff or if it's undesired.

update via git requires configuration

Some guides advise to update via git pull ... but that fails when there is no name/email configured for git. Should this problem be explained somehow or can we trust in the users that they understand the elaborate error message ?

From https://github.com/user/software
 * branch              master     -> FETCH_HEAD

*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <[email protected]>) not allowed

make master the production branch

We currently use stable as our production branch on lab.uberspace.de. Since we do not need release management and two stages of review in this case, just use master.

add contributing guidelines

https://help.github.com/articles/setting-guidelines-for-repository-contributors/

A contribution guideline should outline ...

  • which kinds of issues and pull requests we'd like to see
  • which format those issues should have
  • which format, language and style new guides should have
  • formalities (e.g. licensing)
  • a (short) CoC
  • tell people to use feature branches, how to do it and how to fix a butchered master
  • ask them to leave a name and optionally a link to their homepage/blog for hall of fame
  • probably more 📦

use the same username in all guides

We currently use a different username for each guide (e.g. wordpress for wordpress, ghost for ghost). This increases the work we have with maintaining guides, makes it hard to copy code around and makes it impossible to reuse snippets without causing confusion. Additionally, we used female-sounding names in the past to make a statement, which we can't do with project-names as usernames.

  • make up a single username to use in all guides
  • change all existing guides to match
  • document this in our style guide

Question "Lockfile"

Are any measures planned to prevent double work, eg two users writing the same manual?

think about incentives

Our awesome users should get rewarded for participation. Think about incentives for:

  • New guides
  • Fixing bugs in guides

add sidebar to Ghost

Should contain the following information:

  • Tested Ghost version
  • Tested Uberspace 7 version

add note about logo licenses to footer

We currently have a note in our readme stating that all logs are of course not CC-licensed by us, but are property of the respective projects. Add a similar note to the footer.

add contributors to each guide

We should credit all the nice people who have written guides for our lab. Maybe a nice box listing their names at the top or bottom of each guide will do?

polish allauthors

  • Sort the output of .. allauthors:: by contrubutions
  • When there is no author set the author to Uberspace
  • When there is a URL for the author instead of a email address (Uberspace <uberspace.de>), link to that URL (Uberspace).

Footer layout

On certain devices the footer version date overlaps with the asteroid, because the sphind line has no line break

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.