Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added points in Manual installation #279

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar_label: Manual
---

# Installing Zango: Manual Process
# Installing Zango: Manual

To get started with Zango, you will need to install it using the Python package manager, pip.

Expand All @@ -12,12 +12,22 @@ Once Python and pip are installed, you can will need to install virtualenv to cr

Now you are ready to create and activate the virtual environment by running the following command in your terminal or command prompt

For Linux or Mac users:

```shell
python3 -m venv <virtual_environment_name>
source <virtual_environment_name>/bin/activate
```

install the Zango Open Source Platform by running the following command in your terminal or command prompt
For Windows Users:

```shell
python3 -m venv <virtual environment name>
<virtual environment name >/Scripts/activate
```


Install the Zango Open Source Platform by running the following command in your terminal or command prompt

```shell
pip install zango
Expand Down Expand Up @@ -73,6 +83,7 @@ To get started, follow these steps to set up a PostgreSQL database:

- If you haven't already, you'll need to install PostgreSQL on your system. You can download the PostgreSQL installer for your platform from the official website: [PostgreSQL Downloads](https://www.postgresql.org/download/)


#### 2. **Create a Fresh Database:**

- Once PostgreSQL is installed, open your terminal or a PostgreSQL client.
Expand All @@ -86,6 +97,7 @@ With the PostgreSQL database set up and ready to go, you can proceed with settin

Keep in mind that the exact steps for installing PostgreSQL may vary depending on your operating system. Be sure to consult the PostgreSQL documentation or installation guide for your specific platform if you encounter any issues during the installation process.


## Setting Up the Project

Setting up your project with Zango is a straightforward process. Follow these steps to create your project's root folder, initialize the project, and configure the necessary settings:
Expand Down Expand Up @@ -196,11 +208,24 @@ docker run --name zango_redis -d -p 6379:6379 redis

### Starting the celery worker

For linux or MacOs:

Perform the below steps from the root directory of the project

```
celery -A <project_name> worker -l INFO
```
For Windows:

Perform the below steps from the root directory of the project

```
pip install gevent

pip install eventlet

celery -A <module> worker -l info -P eventlet
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rajxzel modify this section to indicate that either gevent or eventlet or a solo pool can be used


### Starting Celery beat

Expand Down