Skip to content

marketXmind an advanced AI-powered CRM and POS (Point of Sale) platform that integrates cutting-edge AI/ML models to enhance business operations, automate marketing strategies, and provide valuable customer insights in real time.

License

Notifications You must be signed in to change notification settings

bambangirawans/marketxmind

Repository files navigation

Setup Instructions

1. Install Python and pip

sudo apt update
sudo apt install python3 python3-pip -y

2. Install Git

sudo apt install git -y

3. Clone Repository

git clone https://github.com/bambangirawans/marketxmind.git
cd marketxmind

4. Set Up the Virtual Environment

python3 -m venv venv
source venv/bin/activate

5. Install Required Packages

pip install -r requirements.txt

6. Configure config.py

  • Edit config.py with appropriate settings.

7. Install and Configure Nginx

sudo apt install nginx -y
sudo nano /etc/nginx/sites-available/marketxmind
server {
    listen 80;
    server_name your_domain_or_IP;

    location / {
        proxy_pass http://127.0.0.1:8000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
sudo ln -s /etc/nginx/sites-available/marketxmind /etc/nginx/sites-enabled
sudo nginx -t
sudo systemctl restart nginx

8. Create Database Using Flask Migration

flask db init
flask db migrate
flask db upgrade

9. Install and Configure Gunicorn

pip install gunicorn
gunicorn --bind 0.0.0.0:8000 wsgi:app

10. Automate Application Startup (Optional)

sudo nano /etc/systemd/system/marketxmind.service
[Unit]
Description=Gunicorn instance to serve marketxmind
After=network.target

[Service]
User=ubuntu
Group=www-data
WorkingDirectory=/path/to/marketxmind
Environment="PATH=/path/to/marketxmind/venv/bin"
ExecStart=/path/to/marketxmind/venv/bin/gunicorn --workers 3 --bind unix:marketxmind.sock -m 007 wsgi:app

[Install]
WantedBy=multi-user.target
sudo systemctl start marketxmind
sudo systemctl enable marketxmind

About

marketXmind an advanced AI-powered CRM and POS (Point of Sale) platform that integrates cutting-edge AI/ML models to enhance business operations, automate marketing strategies, and provide valuable customer insights in real time.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published