<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How I can test my app without Cloudron or How can I check if the container runs on Cloudron]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">my next Level for Packaging is PrestaShop. There I have the problem, I can't start <a href="http://start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a> with an unbound variable.</p>
<p dir="auto">First I build my image with local docker. Second I will test it local, but the container doesn't start because he find undefined variables. I have tested something, but nothing worked.</p>
<pre><code>if [[ ! -z "${CLOUDRON_APP_DOMAIN:-}" ]]; then
  php install/index_cli.php --domain=${CLOUDRON_APP_DOMAIN} --db_server=${CLOUDRON_MYSQL_HOST} --db_name=${CLOUDRON_MYSQL_DATABASE} --db_user=${CLOUDRON_MYSQL_USERNAME} --db_password=${CLOUDRON_MYSQL_PASSWORD} --country=de --language=de --timezone=Europe/Berlin --name=CloudronPrestaShop --firstname=Cloudron --lastname=PrestaShop --password=$(cat /app/data/prestashop.secret)
fi
</code></pre>
<p dir="auto">How can I check if the container runs on Cloudron, that I can use CLI installer?<br />
How can I test my package without Cloudron if it runs at all?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.cloudron.io/topic/3052/how-i-can-test-my-app-without-cloudron-or-how-can-i-check-if-the-container-runs-on-cloudron</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 02:05:03 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3052.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Aug 2020 14:17:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How I can test my app without Cloudron or How can I check if the container runs on Cloudron on Fri, 21 Aug 2020 02:46:23 GMT]]></title><description><![CDATA[<p dir="auto">Great, this works well.</p>
]]></description><link>https://forum.cloudron.io/post/12357</link><guid isPermaLink="true">https://forum.cloudron.io/post/12357</guid><dc:creator><![CDATA[roru2k20]]></dc:creator><pubDate>Fri, 21 Aug 2020 02:46:23 GMT</pubDate></item><item><title><![CDATA[Reply to How I can test my app without Cloudron or How can I check if the container runs on Cloudron on Wed, 19 Aug 2020 14:19:48 GMT]]></title><description><![CDATA[<p dir="auto">If an app runs on Cloudron then it has a special <code>CLOUDRON=1</code> environment variable exposed. So you could check on the existence of that.</p>
]]></description><link>https://forum.cloudron.io/post/12286</link><guid isPermaLink="true">https://forum.cloudron.io/post/12286</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 19 Aug 2020 14:19:48 GMT</pubDate></item></channel></rss>