{"repo":"commonknowledge/leftbookclub","free":true,"listed":false,"github":"https://github.com/commonknowledge/leftbookclub","clone":"git clone https://github.com/commonknowledge/leftbookclub.git","description":"Website for the Left Book Club","language":"Python","stars":10,"topics":["django","membership","python","shopify","stripe","subscription","wagtail"],"license":"GPL-3.0","category":"ecommerce","readme_excerpt":"Left Book Club Using VS Code development containers 0. (Check that VSCode has the right python interpreter selected, by comparing it to the path in poetry run python -c \"import sysconfig; print(sysconfig.get paths()['scripts'])\" . You can see this in the bottom bar of editor UI) 1. Generate a repository from this template 2. In VSCode, run the command 'Clone Repository in Remote Container Volume' and select your new repository. 3. Wait for dependencies to install 4. Hit F5 (or navigate to Run & Debug and launch the Start App configuration) - If you are receiving errors like No module named 'django' , Open the command palette, select Python: Select Interpreter and select the Poetry -installed python binary 5. Navigate to http://localhost:8000 Troubleshooting ModuleNotFoundError: No module named 'django' - Manually run poetry install - From the VSCode command pallete, \"select Python interpreter\" and select the virtualenv binary of Python Precommit not installed - If you get git errors about pre commit , install pre-commit outside the devcontainer and run pre-commit install to re-configure the git environment. Precommit: icu4c (not found) For errors like this: ... clean up your brew installs (see https://stackoverflow.com/a/54873233/1053937) Developer set up - cd app to enter the right area - Run poetry run python manage.py createsuperuser to set up an admin user - When you first set up, you should sync Stripe to the local database: - And sync Shopify products: Application stack","default_branch":null,"files":null,"tree":[],"storefront":"/r/commonknowledge","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/commonknowledge/leftbookclub/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}