sudo easy_install pip && sudo pip install dotcloud
git clone https://github.com/openplans/shareabouts-api.git
cd shareabouts-api/
dotcloud create <api-name>
dotcloud push -A <api-name> -b master --git
create an S3 bucket
dotcloud env -A <api-name> set SHAREABOUTS_AWS_KEY=<key> SHAREABOUTS_AWS_SECRET=<secret> SHAREABOUTS_AWS_BUCKET=<bucket>
dotcloud run -A <api-name> current/src/manage.py createsuperuser
Error:
==> Executing "current/src/manage.py createsuperuser" on service (www) instance #0 (application <api-name>)
Traceback (most recent call last):
File "current/src/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/opt/ve/2.6/lib/python2.6/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/opt/ve/2.6/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/ve/2.6/lib/python2.6/site-packages/django/core/management/__init__.py", line 252, in fetch_command
app_name = get_commands()[subcommand]
File "/opt/ve/2.6/lib/python2.6/site-packages/django/core/management/__init__.py", line 101, in get_commands
apps = settings.INSTALLED_APPS
File "/opt/ve/2.6/lib/python2.6/site-packages/django/utils/functional.py", line 184, in inner
self._setup()
File "/opt/ve/2.6/lib/python2.6/site-packages/django/conf/__init__.py", line 42, in _setup
self._wrapped = Settings(settings_module)
File "/opt/ve/2.6/lib/python2.6/site-packages/django/conf/__init__.py", line 135, in __init__
logging_config_func(self.LOGGING)
File "/opt/ve/2.6/lib/python2.6/site-packages/django/utils/dictconfig.py", line 553, in dictConfig
dictConfigClass(config).configure()
File "/opt/ve/2.6/lib/python2.6/site-packages/django/utils/dictconfig.py", line 352, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'debug_file': [Errno 2] No such file or directory: '/home/data/debug.log'
Connection to <api-name>-sillygwailo.azva.dotcloud.net closed.
git clone https://github.com/openplans/shareabouts.git
cd shareabouts
dotcloud create <client-name>
dotcloud push -A <client-name> -b master --git