Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fernferret/demobrowser
A Repository to store TF2 Demos
https://github.com/fernferret/demobrowser
Last synced: about 2 months ago
JSON representation
A Repository to store TF2 Demos
- Host: GitHub
- URL: https://github.com/fernferret/demobrowser
- Owner: fernferret
- License: mit
- Created: 2013-02-02T06:30:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-11T13:07:19.000Z (about 11 years ago)
- Last Synced: 2024-10-11T03:21:44.429Z (3 months ago)
- Language: JavaScript
- Size: 3.29 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Source Demo Browser
![Demo Browser in action](http://i4.minus.com/i8FbLCCHzoxJZ.png)## Installing
If I were you, I'd use [virtualenv](https://pypi.python.org/pypi/virtualenv).
Install that first:
```console
$ sudo pip install virtualenv
```### Make a new Virtual Env
```console
$ virtualenv /opt/venv/demo$ source /opt/venv/demo/bin/activate
```**Note: The name of your virtual env will appear inside parenthesis: ``(demo)`` in this example.
If you don't see that, maybe you didn't source the proper [activate](http://www.virtualenv.org/#activate-script) script!**### Install the Demo Browser
```console
(demo)$ cd /opt/sw(demo)$ git clone git://github.com/FernFerret/demobrowser.git
(demo)$ cd demobrowser
(demo)$ pip install -r requirements.txt
```## First Run
Copy the provided ``demobrowser/settings.cfg.example`` to
``demobrowser/settings.cfg`` and edit the values inside it. The big one is
the ``STEAM_API_KEY``. You can get one from here:
[http://steamcommunity.com/dev/apikey](http://steamcommunity.com/dev/apikey).Once you've started it up, simply login with steam.
The first user who logs in will become an administrator
and can add other users.After this, you're on your own for now, until I feel
like writing more documentation...### Quick Run
You can either use the provided wsgi script, or to get going quickly, just run:
To get going ASAP, just run:
```console
(demo)$ python runservermanager.py
```**Don't forget to [source your virtualenv](#make-a-new-virtual-env) script first!**
### Run with mod_wsgi
When you've given it all of your tweaks, use the provided [wsgi script](https://github.com/FernFerret/demobrowser/blob/master/demobrowser.wsgi)
to add to Apache!TODO: Show my apache config!