GithubHelp home page GithubHelp logo

dreis2211 / gamejam Goto Github PK

View Code? Open in Web Editor NEW

This project forked from innogames/gamejam

1.0 2.0 0.0 10.23 MB

InnoGames Game Jam event page, forked from flamejam - https://github.com/svenstaro/flamejam

License: zlib License

Makefile 0.13% Python 13.58% Mako 0.05% Shell 0.01% CSS 12.45% JavaScript 4.07% HTML 69.70% PLSQL 0.01%

gamejam's Introduction

flamejam - a game jam application using Flask

Description

flamejam is a generic game jam application that uses the Flask microframework. It was initially created as a voting platforms for the BaconGameJam. However, it is generic and as such it is usable for any other game jam event.

This application is designed to make sure that participants vote on other entries fairly and evenly.

Dependencies

You will need

  • Python 2.7
  • virtualenv
  • pip
  • flask
  • flask-mail
  • flask-sqlalchemy
  • flask-wtf
  • flask-login
  • flask-markdown
  • python-dateutil
  • scrypt
  • requests
  • alembic
  • flask-principal
  • mysql/mysql_config
  • mysql-python

as well as their respective dependencies. All of these except mysql/mysql_config are available on PyPI and as such I recommend using a virtualenv and pip to install all of those. Always get the newest version of any of these. If flamejam should be incompatible with the latest version of one of these packages, it is to be considered a bug and should be fixed.

Installation

You are currently expected to run some kind of POSIX system such as Linux. This software has not been tested on Windows and it would be quite a wonder indeed if it worked there.

  1. The installation should generally be rather simple provided you have virtualenv and pip in your PATH. Should that be the case, it would be as simple as running

    # make install
    

    True enough, this will install the software directly to your system and set up all the dependencies for you in a virtualenv. Should you want to install to a different root, use something like

    # make DESTDIR=/some/else install
    
  2. Copy the default config from /usr/share/doc/flamejam/flamejam.cfg.default to /etc/flamejam/flamejam.cfg and configure it to your needs. Do not forget to set permissions accordingly as this file contains cleartext passwords.

  3. Copy the cron file from /usr/share/doc/flamejam/flamejam.cron.d to /etc/cron.d/flamejam. This cronjob will tick the web app every minute and send out announcements on time if needed.

  4. Configure your webserver. If you use Apache with mod_wsgi, you may use the provided example virtualhost /usr/share/doc/flamejam/apache-vhost.conf.

  5. Initialize the database using either test data or an admin account. For this, you can use either of the provided scripts in /srv/flamejam/scripts/init-db.py or /srv/flamejam/scripts/seed-db.py. If you use init-db.py on a production system, call it inside the virtualenv as follows:

    $ CONFIG_TYPE=production python scripts/init-db.py <username> <password> <email>
    

Development

For development and testing, firstly set up a virtualenv containing all dependencies. For your convenience, a Makefile target has been provided. Run make setup to have it set up for you.

You also need a mysql installation with mysql-config available. On Ubuntu the package is called libmysqlclient-dev. Run make init-db <username> <password> <email> and make seed-db to setup a development database.

When this is done, run python runserver.py inside the virtualenv to fire up the debug server and navigate to http://localhost:5000. Alternatively you can use make run.

Support and contact

In order to receive help in getting this application to run, it would be best to ask in the official IRC channel: #bacongamejam on irc.freenode.net.

You might as well report bugs on the Github project and we will surely come back to you.

Pull request are rather welcome.

License

This application, all of its sources and resources are licensed under the zlib license with the following exceptions:

  • jquery
  • lightbox
  • bootstrap

These exceptions are subject to their own copyrights and licenses. This project only makes use of them.

For the full license text, please see the included LICENSE file.

gamejam's People

Contributors

aldermeer avatar brucejillis avatar dreis2211 avatar erik avatar leoleovich avatar opatut avatar samedifference avatar sigvef avatar svenstaro avatar thypho0n avatar

Stargazers

 avatar

Watchers

 avatar  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.