Quokka CMS

Quokka CMS

{name} – name of the admin user you’ve created earlier * {password} – password for this admin userquokka cms 10db config var 1

In order to save the changes and exit from the vim editor, use the :wq command.

6. Then, enter the vim wsgi.py command and specify the application entry point for mod_wsgi module by replacing the default content of the opened file with the following lines:


import os,sys
virtenv = os.path.expanduser('~') + '/virtenv/'
virtualenv = os.path.join(virtenv, 'bin/activate_this.py')
    exec(open(virtualenv).read(), dict(__file__=virtualenv))
except IOError:

sys.path.append(os.path.expanduser('~') + '/ROOT/')

from werkzeug.serving import run_simple
from werkzeug.wsgi import DispatcherMiddleware

from quokka import create_app, create_api

application = DispatcherMiddleware(create_app(), {
    '/api': create_api()

if __name__ == "__main__":

quokka cms 13wsgi

Save the changes you’ve made and exit the editor.

7. At last, let’s add a symlink for binding server’s entry point to the just modified file:

ln -s ~/ROOT/wsgi.py ~/ROOT/application

8. That’s all! Now you can return to the dashboard and press the Open in browser button next to your environment to launch your Quokka CMS.quokka cms 14oib app

Tip: Take into consideration that applications, which were deployed via SSH, are not displayed at the Jelastic dashboards’ Deployed column.

As a result, you will see the application’s welcome page with the automatically generated admin credentials stated, so you can instantly log in and start exploring.

quokka cms 15homepage

Enjoy working with your own Quokka CMS application, hosted at Jelastic Cloud!

If you experience any difficulties while configuring or deploying Quokka CMS, you can appeal for our technical experts’ assistance at Stackoverflow.