Coder Social home page Coder Social logo

pollti / pyofahrt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from d120/pyofahrt

0.0 1.0 0.0 1.43 MB

Verwaltungssoftware für die Erstsemesterfahrt

License: GNU Affero General Public License v3.0

Python 66.41% HTML 22.31% CSS 2.01% JavaScript 1.86% TeX 6.96% Shell 0.44%

pyofahrt's Introduction

pyofahrt

Verwaltungssoftware für die Erstsemesterfahrt

Deployment

Installation

  • Install python3, python3-pip and virtualenv
  • Maybe create a user for the WSGI applications (e.g. pyofahrt)
  • Clone this repository into a proper directory (e.g. /srv/pyofahrt)
  • Create MySQL database and proper user
  • Create the file pyofahrt/settings_secrets.py (ideally from pyofahrt/settings_secrets.template.txt) and fill it with the necessary credentials
  • Create a virtualenv (e.g. virtualenv -p python3 venv)
  • For serving WSGI applications, one can install uwsgi, create an ini file under /etc/uwsgi with a proper configuration and configure the webserver to use mod-proxy-uwsgi to make the application accessible. The webserver should also serve the static files. Make sure the application server (uwsgi) sets the proper environment variable for production settings (DJANGO_SETTINGS_MODULE=pyofahrt.settings_production).
  • Run all the relevant commands from the Updates section

Updates

When manually executing manage.py commands in production, do not forget to either pass the --settings pyofahrt.settings_production flag oder set it as an environment variable like export DJANGO_SETTINGS_MODULE=pyofahrt.settings_production.

To update an instance of pyofahrt, one can use the included update script script/update.

For production instances, one should use something like sudo -u pyofahrt script/update --prod.

pyofahrt's People

Contributors

chriswars avatar ckleemann avatar cvoelcker avatar exploide avatar generalgeki avatar jlauinger avatar jnhmn avatar luelista avatar miterion avatar pyup-bot avatar schroedingerszombie avatar xiphoseer avatar

Watchers

 avatar

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.