Commit be3a20c0dea922cec4191907b93f3f3f3fb14074

Change README
README.md
(33 / 10)
  
4949using these APIs, provided they have a valid access token.
5050
5151
52Installing
53----------
52Pre-requisites
53--------------
5454
5555The swtstore application is written in Python and uses a relational database.
5656
6262For more information on supported databases see
6363[here](http://docs.sqlalchemy.org/en/rel_0_9/dialects/index.html).
6464
65___ Once you are sure you have Python and a relational database (like
66MySQL/Postgresql etc.) installed. You can go ahead and follow these steps:___
65Also, make sure you have [pip](https://pip.pypa.io/en/latest/) installed, as
66swtstore depends of few external python packages.
6767
68**NOTE: Make sure you have the pre-requisites installed before following the
69installation steps.**
70
71
72Installing
73----------
74
6875* Clone the repository from [https://git.pantoto.org/sweet-web/sweet-web-engine](https://git.pantoto.org/sweet-web/sweet-web-engine)
69 OR you can download the
70 code from the same link.
7176
72* It is strongly recommended to do the installation inside a virtual environment.
77 > $ git clone --recursive https://git.pantoto.org/sweet-web/sweet-web-engine.git
78
79 If you have already cloned the repo, and then reading this README, you have
80 to get the submodules. Run this from the top-level of this repo:
81
82 > $ git submodule init
83 > $ git submodule update
84
85
86* It is recommended to do the installation inside a python virtual
87 environment.
88 For deploying on a server, it depends on how you have setup your server
89 environment.
7390 If you think, you know what you are doing and don't need the virtual
74 environment, you can skip to the next step.
91 environment, you can skip to the next step.
92
7593 Initialize a python virtual environment using `virtualenv` in the same directory
7694 where you cloned the repository in the above step. Now, activate the
7795 environment
100100
101101* Run the setup.py script to install `` python setup.py install ``
102102
103You're done installing swtstore. Now you need to configure it to run.
104103
104You're done with the installation step.
105105
106Now you need to configure swtstore to run it correctly.
107
108
106109Configure swtstore
107110------------------
108111
112* Make sure you have configured the user management module with correct values.
113
109114* Copy the contents of ``sample_config.py`` inside the ``swtstore`` directory
110115 into ``config.py`` inside ``swtstore`` directory itself.
111116
112 Assuming you are using a *-nix based system, and you are in the root directory
117 Assuming you are using a \*-nix based system, and you are in the root directory
113118 of the codebase,
114119
115120 `` $ cp swtstore/sample_config.py swtstore/config.py``