anjanesh I'm trying to create a web app that consumes the OpalStack API. Where do I find info on abbreviations ? Like AppTypeEnum - [ STA, NPF, APA, CUS, SLS, SLP, SLN, SVN, DAV ] What app does each one of the above represent ?
sean anjanesh: STA: Static NPF: Nginx PHP-FPM APA: Apache PHP-FPM CUS: Proxy port (was originally going to be "custom", hence the abbreviation) SLS: Static symlink SLP: Apache PHP-FPM symlink SLN: Nginx PHP-FPM symlink SVN: Subversion DAV: WebDAV
anjanesh sean Thank you for the response - but I was assuming one would be Django or WordPress - to create a Django / WordPress app. Or does it set to CUS with install script as the other parameter ? In that case what are the possible installer_url values ?
sean When you create a "Django" or "Wordpress" app you're creating one of the basic app types with the addition of the installer URL, ie: A Django app is a proxy port app which was installed with our Django installer URL. A Wordpress app is a Nginx/PHP-FPM app which was installed with our Wordpress installer URL The current installer URLs are the raw Github URLs for the various install scripts in our public installer repo: https://raw.githubusercontent.com/opalstack/installers/master/core/django/install.py https://raw.githubusercontent.com/opalstack/installers/master/core/ghost/install.py https://raw.githubusercontent.com/opalstack/installers/master/core/gitea/install.py https://raw.githubusercontent.com/opalstack/installers/master/core/nextcloud/install.sh https://raw.githubusercontent.com/opalstack/installers/master/core/node/install.py https://raw.githubusercontent.com/opalstack/installers/master/core/rails/install.py https://raw.githubusercontent.com/opalstack/installers/master/core/subversion/install.sh https://raw.githubusercontent.com/opalstack/installers/master/core/uwsgi/install.sh https://raw.githubusercontent.com/opalstack/installers/master/core/webdav/install.sh https://raw.githubusercontent.com/opalstack/installers/master/core/wordpress/install.sh If you want to make your own installer you can use any of those scripts as a guide then host the script as a static file somewhere and include its URL when you call app/create.