Commit 0e0c240e96d6ff7d91bb9b2b95bad218aa63fced

  • avatar
  • arvind
  • Sat May 31 12:48:40 IST 2014
Updating README.md
   - Adding documentation for installing drivers for database.
README.md
(15 / 0)
  
128128
129129 > `` $ cp swtstore/sample_config.py swtstore/config.py``
130130
131* Install the required driver for using database mentioned in the
132 SQLALCHEMY_DATABASE_URI. Install pyscopg2 if you have chosen postgresql as
133 the database to use.
134
135 > `` $ pip install psycopg2 ``
136
137 Install oursql if you have chosen mysql as the database to use.
138
139 > `` $ pip install oursql``
140
141 You would also have to install dependecies, for using mysql:
142 - python-dev
143 - libmysqlclient-dev
144 Install these dependencies from the package manager of your distribution.
145
131146* Edit the config.py file, and change the values accordingly.
132147
133148* Now, you have to setup the database for the swtstore application. But