Hi Arun,
Suppose you are planning to make an app called "some_app" you should start by making the following directory structure:
+ some_app
+ app/
+ lib/
+ public/
+ conf.py
The lib folder should be made by cloning wnframework repository as "lib".
The app folder will contain the modules which you plan to make for "some_app". For now, you will need to put the website folder of erpnext within your app folder, since that is what generates the login page.
The conf.py will hold the configuration of the app. Have a look at sample conf file in lib/conf/conf.py
Make sure you have specified a db_password in conf.py -- it will be used during installation.
The public folder can contain folders like files, backups as in the case of erpnext.
You will need to use lib/wnf.py -b to build minified wnframework javascript files and symlinks in the public folder, so that your app can use them.
Then you will need to use "lib/wnf.py --install db_name" to setup a basic database to get started with your app.
Then you should run "lib/wnf.py --sync_all" to load the website module's schema into your new database.
You will then need to do some apache config as mentioned in erpnext's install guide. Also, the prerequisites for erpnext are what you will need installed.
Then you can start your browser and go to the configured URL. You should get a login page.
Try to proceed till here.
We haven't made many other apps using wnframework, so this is going to take a lot of trial and error.
If you are uncomfortable in doing so, you should go with django framework, as its community is large and a lot of different types of projects have been made using it.
Thanks,
Anand.