I am new to openshift. I have installed rhc on my local[ubuntu].
I have setup my first application in openshift which is of Wordpress. I choose the installation from the openshift console itself. It was not manual.
After installation I loaded my site in browser and logged into the admin panel; where I have installed one new theme.
Now to work on that theme I have cloned the repo into my local machine. But I am not able to find the newly installed theme to work on. So I tried to find that theme via ssh into my application but didn't find the theme there as well. path I am checking is- "/app-root/repo/.openshift/themes"
So where can I find the theme? Please help.
Thank you
The theme is saved in your data directory (~/app-root/data), you can see the specific locations of where the files are saved by reviewing this deploy action hook (https://github.com/openshift/wordpress-example/blob/master/.openshift/action_hooks/deploy).
Related
I use:
Bitnami Wampstack 7.3.17-1
Wordpress 5.4
What I want to do is installing Wordpress manually onto Bitnami on my local PC. I am familiar with XAMPP and WAMPP, so I though what I need to do after unzip the wordpress file is only to put it on htdocs folder. But I couldn't found it on Bitnami, what I can see is apps folder.
Then, because when I tried to access phpMyAdmin I only need to go to: 127.0.0.1/phpMyAdmin/, I thought it will also work for the wordpress. But turns out it's not.
I don't want to use Bitnami-wordpress installer like bitnami-wordpress-5.4.1-0-windows-x64-installer.exe. Because in the future I want to do it for other php-based website I made.
Anyone know how to do it?
Hi Bitnami Engineer here, you can follow these steps to deploy a PHP application on top of WAMP:
Copy the installdir/docs/demo folder into the installdir/apps directory.
Add the following line to the end of the installdir/apache2/conf/bitnami/bitnami-apps-prefix.conf file:
Replace the installdir placeholder with the full installation directory for your Bitnami stack.
Include "installdir/apps/demo/conf/httpd-prefix.conf"
Restart the Apache server using the graphical manager tool.
You should now be able to access the demo application at http://localhost/demo. - You should see a “Hello world” message in your browser.
You can now replace the files inside the installdir/apps/demo/htdocs folder with the WordPress' ones to deploy that application.
You can learn more about this here
https://docs.bitnami.com/installer/infrastructure/wamp/administration/create-custom-application-php/
Newbie on wordpress here. I just installed wordpress on my PC (ubuntu 12.04) directory '/var/www/wp'. I can see the themes in http://localhost/wp/wp-admin/themes.php.
Now I purchased a new theme xyz.zip and unzipped it in directory /var/www/wp/wp-content/themes, so the directory /var/www/wp/wp-content/themes has a new directory called xyz (in addition to the existing themes).
The problem is, when I refresh the web page http://localhost/wp/wp-admin/themes.php, I don't see the new theme.
Any idea why? Thanks.
Duh! Turned out it's permission problem on the directory xyz. Once I fixed the permission, it works ok.
I signed up for OpenShift and created a new WordPress application. Went through the typical WP setup screens in the browser, and now have a fresh instance of WP. I need to start hacking away at WP, so I
git clone ssh://<my-app-repo-url> /path-to-my-project
in my shell, but the
/path-to-my-project/php
folder is empty!
I ssh'd into my application and the
/var/lib/openshift/<uid>/app-root/repo/php
folder contains all the WP source. Why is the clone operation not pulling down these files?
When you install WordPress using the quickstart, it downloads WordPress and installs it on your gear, not using git. Refer to the directions here (https://github.com/openshift/wordpress-example) in the readme for more information.
I followed this link to make my wordpress installation scalable on OpenShift http://gshipley-onpaas.rhcloud.com/scaling-wordpress-on-the-cloud. However, I think I have missed a step somewhere. My git repository does not contain any application wordpress file. I understood that that is the purpose. I only have plugins and themes on the application git. However when the second gear is started (due to scaling), only my files are deployed, not the wordpress installation itself. I must have done something wrong. But I don't understand why it doesn't deploy the wordpress files.
You can try using the wordpress developer quickstart (https://github.com/openshift-quickstart/openshift-wordpress-developer-quickstart) which included the base wordpress installation also, but you will still have to use an s3 plugin for your uploaded files.
I just created my first Wordpress theme. I zipped it up and installed it on the server using the Wordpress 3.0.1 Administration Panel. That worked fine. But now I've made a few changes to my theme and I want to update it. I couldn't find an "upgrade" option for uploaded themes so I tried just uploading it again. This is what I got.
Installing Theme from uploaded file:
my-theme.zip
Unpacking the package…
Installing the theme…
Destination folder already exists.
/path/to/wordpress/wp-content/themes/my-theme/
Theme install failed.
Is there any way to update the theme through the administration panel? Or do I have to access the filesystem somehow (FTP, etc.) and delete the directory first?
You can do it all through the control panel. Each theme has a Delete link that you can use to wipe it from the server's file system. Once it's gone, you can re-intall your updated version.