Coder Social home page Coder Social logo

velmu-mpass-demosp's Introduction

MPASS Demo SP

Five demo applications for MPASS

Requirements

Environment requirements:

  • Python 2.7
  • zc.buildout >2.5

See sources.cfg file for other packages. Under syseggs is listed packages expected from system.

Project is built to be used with:

  • gunicorn
  • Sentry
  • memcached
  • Redis

Usage

You can run five different demo sites from the same codebase. Start each service using different settings files to select the html template used. Then configure your web server to proxy each service as an upstream server when accessed using a some domain. For example one.demo.velmu.fi is proxied to 127.0.0.1:8001.

Running development environment

  • Run buildout
  • Create five local settings files local_settings_{one,two,three,four,five}.py based on the template local_settings_template.py. Use a different SESSION_COOKIE_NAME for each. Use a different DEMOSP_TEMPLATE_NAME for each: demosp/{one,two,three,four,five}.html.
  • Run bin/django migrate
  • Run bin/django collectstatic
  • Run bin/django compress --force
  • Run bin/django runserver 0.0.0.0:{8001,8002,8003,8004,8005} --settings=local_settings_{one,two,three,four,five}

velmu-mpass-demosp's People

Watchers

 avatar  avatar  avatar

velmu-mpass-demosp's Issues

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.