fossacademy as a organization repo

16 views
Skip to first unread message

satyaakam goswami

unread,
Dec 27, 2012, 9:58:17 AM12/27/12
to fossa...@googlegroups.com
Hi All,
          I have setup the fossacademy as an organization repo , will be moving the tree from my personal repo to it .

will add of you as members of the organization , hopefully we should be launching on 1 Jan and in the meantime start thinking of 

1) Creating some content as in courses like python,php, mysql or whatever course you can think of
2) we still need to plan how we are going to move the DB from sqlite to the MySql lets do some work on it in next few days
3) also i have seen south is a good tool to manage changes in the schema during migrations it will help.


-Satya

Kantesh Raj

unread,
Dec 27, 2012, 10:26:09 AM12/27/12
to fossa...@googlegroups.com
Hey,
 
2) we still need to plan how we are going to move the DB from sqlite to the MySql lets do some work on it in next few days

It can be easily done by editing settings.py. We have to change database setting in settings.py to connect with mysql:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.                                                                             
        'NAME':'learnata',                      # Or path to database file if using sqlite3.                                                                                                           
        'USER':'root'  ,                      # user_name of db.                                                                                                                               
        'PASSWORD': '' ,                  # password of db.                                                                                                                               
        'HOST': '',                      # database server address.(Provided by host when you create db).                                                                                            
        'PORT': '',                      # database server port.(Provided by host when you create db).  .                                                                                              
    }
}


--
Kantesh Raj

satyaakam goswami

unread,
Dec 27, 2012, 10:26:34 AM12/27/12
to fossa...@googlegroups.com
ok moved the repo to fossacademy organization here https://github.com/fossacademy/fossacademy now will be adding all of you to the org send me your github id's


-Satya
 

satyaakam goswami

unread,
Dec 27, 2012, 10:30:07 AM12/27/12
to fossa...@googlegroups.com
yes it can be done , still i want some automated way so that we do not change the settings file now and then , in ROR applications i see there is three ways the applications can run from a single settings file , is there something equivalent in django , also i am afraid once we syncdb how we are going to manage the schema changes that is where south and migration scripts will come into play .


-Satya

aka

unread,
Dec 27, 2012, 11:55:49 AM12/27/12
to fossa...@googlegroups.com

akash11
 

Hans gogia

unread,
Dec 28, 2012, 12:03:34 AM12/28/12
to fossa...@googlegroups.com
hansg01
Reply all
Reply to author
Forward
0 new messages