{"id":13341090,"url":"https://github.com/mexitalian/restaurateur","last_synced_at":"2025-03-11T20:32:17.751Z","repository":{"id":17550753,"uuid":"82221808","full_name":"mexitalian/restaurateur","owner":"mexitalian","description":"Restaurant focused CMS built using Wagtail/Django","archived":false,"fork":false,"pushed_at":"2022-11-22T01:34:37.000Z","size":1751,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-24T08:28:47.077Z","etag":null,"topics":["cms","django-application","python3","wagtail"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mexitalian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-16T20:12:50.000Z","updated_at":"2024-05-29T08:54:20.000Z","dependencies_parsed_at":"2023-01-11T20:26:49.855Z","dependency_job_id":null,"html_url":"https://github.com/mexitalian/restaurateur","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mexitalian%2Frestaurateur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mexitalian%2Frestaurateur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mexitalian%2Frestaurateur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mexitalian%2Frestaurateur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mexitalian","download_url":"https://codeload.github.com/mexitalian/restaurateur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243108406,"owners_count":20237679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","django-application","python3","wagtail"],"created_at":"2024-07-29T19:25:10.307Z","updated_at":"2025-03-11T20:32:17.335Z","avatar_url":"https://github.com/mexitalian.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Restaurateur\nRestaurant focused CMS built using Wagtail/Django\n\n## Requirements\n- Python3\n\n## Development Setup\nWithin 'restaurant' directory\n```\n$ pip install -r requirements.txt\n$ pip install -r requirements-dep.txt\n```\n\nThe latest version of pypugjs is required and is not available from pip directly, to install use the following git endpoint\n`$ pip install git+https://github.com/matannoam/pypugjs.git`\n\n## Deployment\n### Dreamhost shared hosting\n- Enable **Passenger** on the sub/domain\n- Setup **virtualenv** to use Python3 and install all dependancies via **pip**.\n- Run through standard inits, (including but not limited to)\n  ```\n  $ ./manage.py makemigrations\n  $ ./manage.py migrate\n  $ ./manage.py collectstatic\n  ```\n- Goto **Panel \u003e Domains \u003e Remap Sub-Dir** then add a subdirectory /media to the sub/domain pointing it at Django's media folder\n- Create `passenger_wsgi.py` in domain root (not in /public)\n\n```bash\n# Passenger WSGI config\n# /env/ is where the virtualenv was setup\nimport sys, os\nINTERP = \"/home/giacomos/staging.giacomos.co.uk/env/bin/python3\"\n#INTERP is present twice so that the new python interpreter knows the actual executable path\nif sys.executable != INTERP: os.execl(INTERP, INTERP, *sys.argv)\n\ncwd = os.getcwd()\nsys.path.append(cwd)\nsys.path.append(cwd + '/restaurant-cms/restaurant')  # add project here\n\nsys.path.insert(0,cwd+'/env/bin')\nsys.path.insert(0,cwd+'/env/lib/python3.6/site-packages')\n\nos.environ['DJANGO_SETTINGS_MODULE'] = \"restaurant.settings.production\"\nfrom django.core.wsgi import get_wsgi_application\napplication = get_wsgi_application()\n```\n[Original instructions](https://help.dreamhost.com/hc/en-us/articles/215319648-How-to-create-a-Django-project-using-virtualenv)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmexitalian%2Frestaurateur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmexitalian%2Frestaurateur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmexitalian%2Frestaurateur/lists"}