Clarifications on Open edx using bitnami at microsoft azure - bitnami

i've successfully installed openEdx using bitnami in Microsoft Azure cloud.
i like to know below points, can anybody help me on this please!
1)I am a PHP programmer - but I reviewed few blogs , they mentioned the written script of edx is python etc,
is the edx script support PHP ? "
2) I can able to connect server through winscp. Can anyone tell me the exact root path?
3) Is Edx same as common Application Made using PHP & Mysql?
4) I seen, lot of modules are present & we need to install it to use ( Like we do plugins in Wordpress),
then can we able to customize for our individual requirement?
5) kindly Suggest me good startup tutorial
Looking forward Your Replies, Thanks in advance

1) I am a PHP programmer - but I reviewed few blogs , they mentioned the written script of edx is python etc, is the edx script support PHP ? "
The Bitnami Open edX Stack includes three three major components: edX Platform, XQueue and edX Forum. edX Platform and XQueue are written in Python and the cs_comments_service (forum) is written in Ruby. More info at:
https://github.com/edx/edx-platform
https://github.com/edx/xqueue
https://github.com/edx/cs_comments_service
2) I can able to connect server through winscp. Can anyone tell me the exact root path?
Please take a look to the Bitnami Documentation regarding how to access via SSH/SFTP to a server:
https://docs.bitnami.com/azure/faq/#how-to-connect-to-the-server-through-ssh
https://docs.bitnami.com/azure/faq/#how-to-upload-files-to-the-server-with-sftp
3) Is Edx same as common Application Made using PHP & Mysql?
No. edX is much more complex since it uses Python, NodeJS, Ruby, RabbitMQ, MySQL, etc. You should take a look to the Open edX architecture:
http://edx.readthedocs.io/projects/edx-developer-guide/en/latest/architecture.html
4) I seen, lot of modules are present & we need to install it to use ( Like we do plugins in Wordpress), then can we able to customize for our individual requirement?
Yes, you can customise and add plugins/themes to edX.
Plugins documentation:
https://open.edx.org/xblocks
https://docs.bitnami.com/azure/apps/edx/#how-to-enable-an-xblock-for-a-course
Theming documentation:
https://docs.bitnami.com/azure/apps/edx/#how-to-enable-and-apply-a-custom-theme
5) kindly Suggest me good startup tutorial
You should take a look to the Bitnami Documentation for Open edX:
https://docs.bitnami.com/azure/apps/edx/

Related

enable Open edX custom theme bitnami

I am trying to customize the default UI of open edX. But I am not getting far enough. I am new to this. I am getting confused reading the docs. In the documentation it is telling me to place my theme in the '/opt/bitnami/edx/var/themes/edx-platform' directory. But there is not any such directory. So should I make my own directory in the default location of my remote server? Again I found a directory that has path like this '/opt/bitnami/edx/app/edxapp/edx-platform/themes'. So do I put my custom theme here or create my own directory? Also can anyone provide me clear steps which I can follow. Thanks in advance!
I think Open edX documentation is very clear, relevant, and concise. Of course, we can argue but that's how I feel.
Its not a good idea to make changes in '/opt/bitnami/edx/app/edxapp/edx-platform/themes'.
Use the comprehensive theming method for custom themeing, you can find more here.
First, you need to develop your own theme, theme development guide here.
Thene make these changes to your 'lms.yml' and 'studio.yml' in '/opt/bitnami/edx/etc/'.
COMPREHENSIVE_THEME_DIRS:
- /path/to/edx-platform/themes
ENABLE_COMPREHENSIVE_THEMING: true,
DEFAULT_SITE_THEME: 'your theme name'
And restart the LMS, CMS service, and compile assets.
You can use open edX native installations also. More info here.

Implement or configure categorization of course search results in open edx

I have an installation of edx fullstack, eucalyptus release but cant seem to get around configuring multiple filter for the course search page. I am only able to get the defaults as shown below
the default configuration that I have:
But my requirement is for something advanced e.g as in the edx site see below
What I am trying to achieve:
Any pointers to some doc or is this not supported in edx?
Thanks in advance.
This can be done by activating the search capability. Here is the doc

ZF2 Fatal error: Class 'Locale' not found in /home/...../Zend/I18n/Translator/Translator.php on line 228

I have a project in my localhost, already running, after modifying the php.ini of my XAMPP server [running on Windows 7] (adding: extension=php-intl.dll).
But when i upload this project to my GoDaddy hosting, it doesn´t works and get the following error:
Fatal error: Class 'Locale' not found in /home/content/41/9674641/html/library/zend.2.0.4/Zend/I18n/Translator/Translator.php on line 228
GoDaddy hosting details:
Php version 5.3
Operating system: Linux
i386-redhat-linux-gnu
Zend Framework details:
Zend Library: 2.0.4
I´ve tried what they say on the following links:
http://support.godaddy.com/help/article/1085/can-i-add-a-php-initialization-file-to-my-hosting-account?locale=en
http://support.godaddy.com/help/article/5647/why-isnt-my-phpini-file-taking-effect?locale=en&ci=46061
Also, i´ve called to 24/7 goDaddy support and they suggested me to create a php5.ini file in the root directory, then, they told me to stop all web services (Cpanel/Stats & Monitors/System Processes/end web), but they didn´t told me what do i need to include in the php5.ini file.
I was reading some links and, as my localhost is a windows one, adding the extension=php-intl.dll to the php.ini file worked. So i´ve tried to include in my godaddy linux server: extension=php-intl.so but doesn´t works (neither extension=php-intl.dll).
The problem with the goDaddy hosting began when i started using ZF2 FORMs.
Updates:
1) I´ve got access to the php5.ini of the goDaddy server (i have made a copy on the root of my hosting) using PUTTY: cp /web/conf/php5.ini /var/chroot/home/content/41/9674641/html
Then i have read it and i could not find the "intl" extension, instead of this, i only could find:
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
2) goDaddy response to my formal support request (ticket):
Thank you for contacting Online Support
I understand you are wanting to get Internationalization extension on
to your hosting account. At this time these are not supported in our
systems at this time. We are going to review this with our developers
to more information. You may receive an email us down the road with
addition information about this.
Please let us know if we can assist you in any other way.
Now i'm thinking that i have two problems:
A) Include the line to enable the extension (i don't know how):
Maybe could be:
extension_dir=/var/chroot/home/content/41/9674641/html/library/extensions/php-intl/usr/lib64/php/modules
extension="intl.so"
B) Include the extension in some location inside my hosting (but i don´t know how):
Maybe i could put the extension files inside: /var/chroot/home/content/41/9674641/html/library/extensions/php-intl
Also, i don't know where to acquire the extension files
C) Is there any known update on ZF2 (skeleton, library ..) that solve this issue ?
Please, i need help as soon as possible.
You can manage PHP modules by using the "Change PHP version" feature of the cPanel interface. Select any version other than "native" and a list of checkboxes will appear.
http://support.godaddy.com/help/article/3937/viewing-or-changing-your-php-language-version?pc_split_value=2
Of course, their support might not immediately mention this solution, which should have been in their knowledge base in the first place.

I want to use EtherPad (or a clone). My site is running Ruby on Rails. API or local install?

I'd like to utilize an etherpad interface on my website. Two questions:
1) is there any site with an etherpad api that I could just call remotely?
2) if not, how much trouble is it to install scala and have the two run concurrently?
Thanks
Check out http://piratepad.net and http://ietherpad.com
And you can embed those etherpad instances using a simple iframe as suggested here: http://etherpad.com/ep/blog/posts/embedding-etherpad
There doesn't seem to be a proper API yet for more robust interactions.
The original etherpad.com has now gone away but at that link there is a list of clones.
The instructions for embedding etherpads seems to have gone away with the rest of etherpad.com but I believe it's as simple as this:
<div id="ep">
<iframe src="http://etherpad.com/foo?fullScreen=1"></iframe>
</div>
Replace "etherpad.com" with whatever clone you're using, "foo" with the name of your pad, and you may or may not want to change that fullScreen=1 to fullScreen=0 (or leave it off altogether).
Installing scala might mean a few things:
Installing the SDK (i.e. scalac)
Installing the runtime
Assuming you mean the runtime, scala runs entirely on the Java Virtual Machine (JVM) so assuming you have 1.5+ JVM installed, you can run scala programs on it easily (Scala just compiles down to bytecode, after all). All a scala program requires is a few JARs on the classpath (scala-library and scala-compiler)
Now there is a better solution Etherpad Lite it is easily installable and embedable. See http://etherpad.org

IMAP + TLS/SSL with Synapse?

I'm currently trying to add to a software the capability to list unread emails in the user's inbox using IMAP. After having no success at all using Indy10, I discovered Synapse which seemed better for what I needed, but I can't find a way to get it working.
My problem is with the login (thus I think with the SSL configuration). I can't find a working combination of "FullSSL", "Sock.SSL.SSLType" and "AutoTLS". Whenever I do the "Login()" function, it fails.
For the sake of testing, are any of you able to connect to Gmail's IMAP server using Synapse, and, if yes, how?
Having just done this myself, I might recommend that you just follow the simple example on the Synapse HowTo http://synapse.ararat.cz/doku.php/public:howto:smtpsend
The only other thing would be that you need to download the openssl dll's and place the in your project folder.
IMHO .... I would recommend that you also consider looking at CleverComponents.com at their IMAP4 with built in SSL (not requiring OpenSSL, which has some licensing restrictions) and is completely NON-Blocking sockets.
mfw is correct, but here's a clearer and more current answer.
Go to the page skamradt said and download the "Binaries" ZIP. From its Bin folder, copy these files into your EXE's folder:
libssl32.dll
libeay32.dll
In your DPR, add
uses ssl_openssl;
For GMail / port 587:
// support for upgrade session to TSL/SSL:
SMTP.AutoTLS := True ;
SMTP.FullSSL := False;
For other SMTP servers / port 465:
// support for TSL/SSL tunnel:
SMTP.AutoTLS := False;
SMTP.FullSSL := True ;
This might also work for POP / port 995. It's how I got Synapse to send mail securely in Delphi 7 + Synapse Release 40 (2012-04-23)
I suggest Mailbee IMAP ActiveX from AfterLogic.
I did the research when developing Gmail Keeper (a Gmail backup software), CleverComponnets' feature set seems good but their support is very badm they seem discontinued that promising component set, you can try to email them back and forth to see if there is anything changed since it's been a long time since I checked them last time, I indeed wish they continue their VCL.
On the other hand, afterlogic's support is really good, especially when the reasonable price is considered.
One-click to backup Gmail with labels to local disk (supports backup scheduling)
http://GmailKeeper.com
You need these libraries in your program:
libeay32.dll
ssleay32.dll

Resources