Open edX development is very active and its updated very often. You can update existing Open edX deployment to use the latest codebase.
After finished OpenEdX installation we need to modify some settings to change text, logo and activate some functionality: changing site name, using third party auth and many others. This is where things are a bit confusing because some documentations use different approach.
Open edX is the open source platform that powers edX courses. It is freely available to the community. Institutions can host their own instances of Open edX and offer their own classes. Educators can extend the platform to build learning tools that precisely meet their needs. And developers can contribute new features to the Open edX platform. There are already many online course sites developed using Open edX.
During my work to refactor one of my Node.js based app, I tried to dug deeper into OAuth2 authorization flows. There are 4 authorization flows. See here http://labs.hybris.com/2012/06/01/oauth2-authorization-code-flow/:
Gulp is a build system implemented using stream. You can use gulp to hinting and linting scripts, concatenate and minify them, automate testing and many others. I have been wanted to use Gulp in my Nodejs project for a while (I have tried Grunt once, but that not work well for me). This is my working with Gulp notes.
Nginx is a high performance web server. Some said it is better than Apache. Nginx can be used as reverse proxy for Node.js server application. And also as static file server since it’s very efficient. If you are have a VPS or VM running, you can use Nginx as front for more than one Node.js app.
First, you have to install Nginx first. My standard script for installing development server is available here. Once you have nginx setup, when you access your server on port 80, you will see nginx welcoming screen.
Typing password is a time wasting process. It is recommended to use SSH with public private keys to access Linux VM box. To do that in Azure, first you need to create a key pair using following command
I found the issue with the Azure website. Sailsjs is actually working well. The issue is that I used Azure free tier and free tier is going idle (IIS app pool timeout) after some time if not used. This caused some errors when I tried to access it from browser (that’s when the app started again). I tried to use uptimerobot to check the site every 5 minutes so it will not go idle. I still found the website is stopped this morning.
end of update
I started to use sailsjs in my latest project. When I deployed it to Azure Web Sites, the web is not working. Sometimes I can access it, but most of the time I just can’t. So I went to install IIS and iisnode on my Windows 7 machine to test the sailsjs on IIS deployment on local dev machine. Maybe I can figure out what went wrong. But what I found is series on errors when trying to run simple iisnode example.
MongoDB is easy enough to use that you don’t even have to think about adding user when start using it. This could lead to a problem down the road when you are need to open your database access to public internet. And also the provided free version do not support SSL!. But that is another issue.
For now, lets take note on how we can start adding user (and password) to protect our database access.