# Minna Jewels — InMotion setup

This clean package contains only the Minna Jewels storefront and its Django image CMS.

## Website

Upload the contents of `public_html/` directly into the document root for `minnajewels.com` (normally `/home/CPANEL_USERNAME/public_html/`). The resulting path must be `/public_html/index.html`.

## CMS backend

Copy `backend/` to `/home/CPANEL_USERNAME/minnajewels_backend/`. In cPanel **Setup Python App**, use:

- Application URL: `api.minnajewels.com`
- Application root: `minnajewels_backend`
- Startup file: `passenger_wsgi.py`
- Entry point: `application`

Activate the cPanel Python environment and run:

```bash
cd ~/minnajewels_backend
pip install -r requirements.txt
python manage.py migrate
python manage.py collectstatic --noinput
python manage.py createsuperuser
```

Copy the values from `.env.inmotion.example` into the Python application's environment-variable section. Replace `CPANEL_USERNAME` and generate a new secret key.

CMS login: `https://api.minnajewels.com/admin/`
