Commit bba7e8104b27fb99a36b2f7c2ce1ac9dc5bf4609

Update pre-requisite section on README
  • README.md 36 -------------+++++++++++++++++++++++
  • Diff rendering mode:
  • inline
  • side by side

README.md

5454
55The swtstore application is written in Python and uses a relational database.55The swtstore application is written in Python and uses a relational database.
5656
57Hence, the dependencies of this application are Python and any relational database
58supported by SQLAlchemy.
57Hence, the dependencies of this application are:
5958
60Most common RDBMS supported by SQLAlchemy are MySQL, Postgresql.
59 * Python 2.7. See [here](https://www.python.org/about/gettingstarted/)
60 for more details on installing Python.
6161
62For more information on supported databases see
63[here](http://docs.sqlalchemy.org/en/rel_0_9/dialects/index.html).
62 * any relational database supported by SQLAlchemy. Most common RDBMS
63 supported by SQLAlchemy are MySQL, Postgresql.
6464
65Also, make sure you have [pip](https://pip.pypa.io/en/latest/) installed, as
66swtstore depends of few external python packages.
65 For more information on supported databases see
66 [here](http://docs.sqlalchemy.org/en/rel_0_9/dialects/index.html).
6767
68 _Installing and setting up a database like MySQL or Postgresql is out of scope
69 of this document. Please search the Internet to get help about installing and
70 setting up a RDBMS._
71
72 * Also, make sure you have [pip](https://pip.pypa.io/en/latest/) installed, as
73 swtstore depends of few external python packages.
74 See [here](https://pip.pypa.io/en/latest/) to get more details.
75
68**NOTE: Make sure you have the pre-requisites installed before following the76**NOTE: Make sure you have the pre-requisites installed before following the
69installation steps.**77installation steps.**
7078
80Installing80Installing
81----------81----------
8282
83* Clone the repository from [https://git.pantoto.org/sweet-web/sweet-web-engine](https://git.pantoto.org/sweet-web/sweet-web-engine)
83* Clone the repository from <https://git.pantoto.org/sweet-web/sweet-web-engine>
8484
85 > $ git clone --recursive https://git.pantoto.org/sweet-web/sweet-web-engine.git
85 > `` $ git clone --recursive https://git.pantoto.org/sweet-web/sweet-web-engine.git ``
8686
87 If you have already cloned the repo, and then reading this README, you have87 If you have already cloned the repo, and then reading this README, you have
88 to get the submodules. Run this from the top-level of this repo:88 to get the submodules. Run this from the top-level of this repo:
8989
90 > $ git submodule init
91 > $ git submodule update
90 > `` $ git submodule init ``
9291
92 > `` $ git submodule update ``
9393
94
94* It is recommended to do the installation inside a python virtual95* It is recommended to do the installation inside a python virtual
95 environment.96 environment.
96 For deploying on a server, it depends on how you have setup your server97 For deploying on a server, it depends on how you have setup your server
126 Assuming you are using a \*-nix based system, and you are in the root directory126 Assuming you are using a \*-nix based system, and you are in the root directory
127 of the codebase,127 of the codebase,
128128
129 `` $ cp swtstore/sample_config.py swtstore/config.py``
129 > `` $ cp swtstore/sample_config.py swtstore/config.py``
130130
131* Edit the config.py file, and change the values accordingly.131* Edit the config.py file, and change the values accordingly.
132132
133* Now, you have to setup the database for the swtstore application. But133* Now, you have to setup the database for the swtstore application. But
134 fortunately, the creation of database and tables have also been scripted, so134 fortunately, the creation of database and tables have also been scripted, so
135 all you need to do is run the ``dbsetup.py`` script.135 all you need to do is run the ``dbsetup.py`` script.
136 `` $ python dbsetup.py ``
136
137 > `` $ python dbsetup.py ``
137138
138**NOTE:** Please remember that all these configuration step is necessary and is139**NOTE:** Please remember that all these configuration step is necessary and is
139required whether you are running the application locally or deploying it on a140required whether you are running the application locally or deploying it on a