{"id":21084163,"url":"https://github.com/unplugstudio/mezzanine-boilerplate","last_synced_at":"2025-03-14T05:11:28.869Z","repository":{"id":98728746,"uuid":"287441008","full_name":"unplugstudio/mezzanine-boilerplate","owner":"unplugstudio","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-14T04:12:37.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T23:49:14.313Z","etag":null,"topics":[],"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/unplugstudio.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-14T04:12:25.000Z","updated_at":"2020-08-14T04:12:46.000Z","dependencies_parsed_at":"2023-05-25T01:00:22.126Z","dependency_job_id":null,"html_url":"https://github.com/unplugstudio/mezzanine-boilerplate","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugstudio%2Fmezzanine-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugstudio%2Fmezzanine-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugstudio%2Fmezzanine-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugstudio%2Fmezzanine-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unplugstudio","download_url":"https://codeload.github.com/unplugstudio/mezzanine-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526953,"owners_count":20305115,"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":[],"created_at":"2024-11-19T20:22:47.849Z","updated_at":"2025-03-14T05:11:28.842Z","avatar_url":"https://github.com/unplugstudio.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mezzanine Boilerplate\n\nMezzanine Boilerplate aims to be a collection of sensible design patterns for\nMezzanine websites. It covers everything from frontend to backend, providing\nrules for the most common cases while maintaining flexibility to make each\nproject unique. A Mezzanine project template is also provided for new Mezzanine\nprojects (see the Quickstart section).\n\n## Overview\n\nThe current version of the boilerplate is 1.8, it makes use of the following\ntechnology stack:\n\n- Python 3.6 (though Python 2.7 should work too)\n- Django 1.8 (we're sticking to a LTS version)\n- Mezzanine 4.2\n- Webpack 3\n- Javascript (ES6)\n- Sass\n\nMake sure you're using the correct version of the boilerplate for each project!\nYou can explore the tags in this repository to look for the one that matches\nyour project.\n\n## Quickstart\n\nTo quickly get started with a Mezzanine project, follow these steps. Make sure\nyou have installed the [one-time requirements] first.\n\n```bash\n# Create a new DB and DB user for the project\nsudo su - postgres\ncreateuser -DRPS project_name\ncreatedb project_name -O project_name\n\n# Get the latest version of the project template\ngit clone https://gitlab.com/jerivas/mezzanine-boilerplate.git\n\n# Create the project\nmkvirtualenv -p python3.6 project_name\npip install mezzanine\nmezzanine-project --template mezzanine-boilerplate/project_template --extension py,json,md project_name\ncd project_name\npip install -r requirements.txt\npython manage.py createdb --noinput --nodata\n\n# Install npm dependencies\n# By using `update` the versions will be updated in package.json.\ncd theme/static\nnpm update --save-dev --only=dev\nnpm update --save\n\n# Start Webpack to create the CSS and JS files\nnpm run dev\n\n# Start the Django development server to actually serve the site\ncd ../..\npython manage.py runserver\n\n# Now visit localhost:8000\n```\n\n## One-time requirements\n\nBroadly speaking, you need to have the following installed globally in your\nsystem. This will allow you to create any number of projects without issue.\n\n- Git or mercurial\n- Postgres database server\n- Python 3.6, pip, and Python development utilities\n- Flake8 (to get both PEP8 linting and error checking)\n- virtualenv and virtualenvwrapper\n- libjpeg\n- Node JS (version 6 or later required)\n- npm (usually comes with Node)\n\nIn a Ubuntu machine, this should be enough:\n\n```bash\n# Django/Mezzanine dependencies\nsudo apt-get install libjpeg8 libjpeg8-dev postgresql python-pip git npm\nsudo apt-get build-dep python-imaging\nsudo pip install -U pip virtualenvwrapper mercurial\necho \"source /usr/local/bin/virtualenvwrapper.sh\" \u003e\u003e ~/.bashrc\n```\n\n[one-time requirements]: #one-time-requirements\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funplugstudio%2Fmezzanine-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funplugstudio%2Fmezzanine-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funplugstudio%2Fmezzanine-boilerplate/lists"}