Initial checkin of Blender Cloud Server.

This commit is contained in:
Sybren A. Stüvel 2016-07-29 16:29:51 +02:00
commit 6ab2709cc4
5 changed files with 58 additions and 0 deletions

14
.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
.DS_Store
.project
.coverage
*.pyc
__pycache__
config_local.py
/build
/.cache
/*.egg-info/
/.eggs/
/dump/
/google_app*.json

13
LICENSE.txt Normal file
View File

@ -0,0 +1,13 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

7
cloud-manage.py Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env python
from pillar_server import cli
from cloud import app
cli.manager.app = app
cli.manager.run()

9
cloud.py Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env python
from pillar_server import PillarServer
app = PillarServer('.')
app.process_extensions()
if __name__ == '__main__':
app.run('::0', 5000, debug=True)

15
runserver.wsgi Normal file
View File

@ -0,0 +1,15 @@
from os.path import abspath, dirname
import sys
from pillar_server import PillarServer
activate_this = '/data/venv/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))
from flup.server.fcgi import WSGIServer
sys.path.append('/data/git/blender-cloud/bcloud-server/')
application = PillarServer(dirname(abspath(__file__)))
application.process_extensions()
if __name__ == '__main__':
WSGIServer(application).run()