diff --git a/.gitignore b/.gitignore index f2b7e423..27e8338e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ test.db app.db .idea/ .bundle/ +venv/ +.venv # Static files at 'app/static/vendor' app/static/vendor diff --git a/README.md b/README.md index c6c181f7..6de06a62 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ The Open Event Orga Server can be easily deployed on a variety of platforms. Det One-click Heroku deployment is also available: -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/fossasia/open-event-legacy) [![Deploy to Docker Cloud](https://files.cloud.docker.com/images/deploy-to-dockercloud.svg)](https://cloud.docker.com/stack/deploy/?repo=https://github.com/fossasia/open-event-legacy) +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/fossasia/open-event-legacy) [![Deploy to Docker Cloud](https://files.cloud.docker.com/images/deploy-to-dockercloud.svg)](https://cloud.docker.com/stack/deploy/?repo=https://github.com/fossasia/open-event-legacy) ## Technology Stack @@ -266,6 +266,9 @@ The tentative release policy for now is, (since there is a lot of activity and a * Test the application on your machine and explore the admin area. The test deployment on Heroku will not give you access to the admin section, where you can switch on/off modules, e.g. ticketing and add keys for services, e.g. storage on S3. * If you would like to work on an issue, drop in a comment at the issue. If it is already assigned to someone, but there is no sign of any work being done, please free to drop in a comment so that the issue can be assigned to you if the previous assignee has dropped it entirely. +** Route Documentation ** +- Information about the endpoints of api is available by using swagger at `/api/v1` endpoint. For quick reference, you can also refer [https://eventyay.com/api/v1/](https://eventyay.com/api/v1/). + ## License This project is currently licensed under the GNU General Public License v3. A copy of LICENSE.md should be present along with the source code. To obtain the software under a different license, please contact [FOSSASIA](http://blog.fossasia.org/contact/). diff --git a/docs/installation/local.md b/docs/installation/local.md index e95896bd..b3c59efd 100644 --- a/docs/installation/local.md +++ b/docs/installation/local.md @@ -42,9 +42,20 @@ cd open-event-legacy * **Step 1** - Install python requirements. You need to be present into the root directoryt of the project. +Installing the dependencies System Wide + ```sh sudo -H pip install -r requirements.txt ``` + +Installing and Running through Virtual Environment + +```sh +virtualenv venv +source venv/bin/activate +pip install -r requirements.txt +``` + hint: You may need to upgrade your pip version and install following packages if you encounter errors while installing the requirements. ```sh sudo apt-get install python-dev