Comics-Games-and-Things-LLC / openCGaT

BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Development of openCGaT

This is a Django project.

1. Install dependencies

Install Python 3, Node 16, and Yarn. Have access to a pSQL database.

2. Install all python dependencies.

Install the remaining dependencies:

pip install -r requirements.txt
yarn

3. Setup local .env file.

Copy the example file, and fill in with API keys from the various services.

cp .env.example .env

4. Compile Javascript

Do not copy-static without python properly configured (eg node docker container)

yarn install
yarn watch

5. Apply migrations

python manage.py migrate

6. Generate a local admin account

python manage.py createsuperuser

7. Run dev server

python manage.py runserver

8. Run dev server

Through the admin ui (url:8000/admin) add a partner, otherwise pages won't be able to serialize the cart. Through the CMS (url:8000/cms) add a homepage.