{"id":13725637,"url":"https://github.com/twoscoops/django-twoscoops-project","last_synced_at":"2025-05-07T20:33:13.802Z","repository":{"id":6394826,"uuid":"7632767","full_name":"twoscoops/django-twoscoops-project","owner":"twoscoops","description":"The sample project layout from the book, \"Two Scoops of Django 1.5 and 1.6\"","archived":false,"fork":false,"pushed_at":"2016-01-30T14:59:30.000Z","size":1659,"stargazers_count":874,"open_issues_count":12,"forks_count":345,"subscribers_count":75,"default_branch":"develop","last_synced_at":"2024-08-04T01:27:55.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://twoscoopspress.org","language":"Python","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/twoscoops.png","metadata":{"files":{"readme":"README.rst","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":"2013-01-15T20:35:27.000Z","updated_at":"2024-04-30T02:05:13.000Z","dependencies_parsed_at":"2022-09-16T07:23:28.649Z","dependency_job_id":null,"html_url":"https://github.com/twoscoops/django-twoscoops-project","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twoscoops%2Fdjango-twoscoops-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twoscoops%2Fdjango-twoscoops-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twoscoops%2Fdjango-twoscoops-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twoscoops%2Fdjango-twoscoops-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twoscoops","download_url":"https://codeload.github.com/twoscoops/django-twoscoops-project/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224645473,"owners_count":17346166,"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-08-03T01:02:29.813Z","updated_at":"2024-11-14T15:31:42.873Z","avatar_url":"https://github.com/twoscoops.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"========================\ndjango-twoscoops-project\n========================\n\nA project template for Django 1.6 (with a tag for Django 1.5).\n\nTo use this project follow these steps:\n\n#. Create your working environment\n#. Install Django\n#. Create the new project using the django-two-scoops template\n#. Install additional dependencies\n\n*note: these instructions show creation of a project called \"icecream\".  You\nshould replace this name with the actual name of your project.*\n\nWhat about Django 1.7 (or higher)?\n==================================\n\nThis project is meant to be paired with the Two Scoops of Django 1.6 (which has been superseded by `Two Scoops of Django 1.8`_). Since this is the case, we won't be upgrading this project for upcoming releases of Django.\n\nIf you are looking for cutting edge Django templates, we recommend:\n\n* https://github.com/imkevinxu/django-kevin (modernized port of this template)\n* https://github.com/pydanny/cookiecutter-django (bleeding edge)\n\n.. _`Two Scoops of Django 1.8`: http://twoscoopspress.com/products/two-scoops-of-django-1-8\n\nWorking Environment\n===================\n\nYou have several options in setting up your working environment.  We recommend\nusing virtualenv to separate the dependencies of your project from your system's\npython environment.  If on Linux or Mac OS X, you can also use virtualenvwrapper to help manage multiple virtualenvs across different projects.\n\nVirtualenv Only\n---------------\n\nFirst, make sure you are using virtualenv (http://www.virtualenv.org). Once\nthat's installed, create your virtualenv::\n\n    $ virtualenv icecream\n\nYou will also need to ensure that the virtualenv has the project directory\nadded to the path. Adding the project directory will allow `django-admin.py` to\nbe able to change settings using the `--settings` flag.\n\nVirtualenv with virtualenvwrapper\n------------------------------------\n\nIn Linux and Mac OSX, you can install virtualenvwrapper (http://virtualenvwrapper.readthedocs.org/en/latest/),\nwhich will take care of managing your virtual environments and adding the\nproject path to the `site-directory` for you::\n\n    $ mkdir icecream\n    $ mkvirtualenv -a icecream icecream-dev\n    $ cd icecream \u0026\u0026 add2virtualenv `pwd`\n\nUsing virtualenvwrapper with Windows\n----------------------------------------\n\nThere is a special version of virtualenvwrapper for use with Windows (https://pypi.python.org/pypi/virtualenvwrapper-win).::\n\n    \u003e mkdir icecream\n    \u003e mkvirtualenv icecream-dev\n    \u003e add2virtualenv icecream\n\n\nInstalling Django\n=================\n\nTo install Django in the new virtual environment, run the following command::\n\n    $ pip install django\n\nCreating your project\n=====================\n\nTo create a new Django project called '**icecream**' using\ndjango-twoscoops-project, run the following command::\n\n    $ django-admin.py startproject --template=https://github.com/twoscoops/django-twoscoops-project/archive/master.zip --extension=py,rst,html icecream_project\n\nFor Django 1.5 users, we recommend::\n\n    $ django-admin.py startproject --template=https://github.com/twoscoops/django-twoscoops-project/archive/1.5.zip --extension=py,rst,html icecream_project\n\nInstallation of Dependencies\n=============================\n\nDepending on where you are installing dependencies:\n\nIn development::\n\n    $ pip install -r requirements/local.txt\n\nFor production::\n\n    $ pip install -r requirements.txt\n\n*note: We install production requirements this way because many Platforms as a\nServices expect a requirements.txt file in the root of projects.*\n\nFollows Best Practices\n======================\n\n.. image:: http://twoscoops.smugmug.com/Two-Scoops-Press-Media-Kit/i-C8s5jkn/0/O/favicon-152.png\n   :name: Two Scoops Logo\n   :align: center\n   :alt: Two Scoops of Django\n   :target: http://twoscoopspress.org/products/two-scoops-of-django-1-6\n\nThis project follows best practices as espoused in `Two Scoops of Django: Best Practices for Django 1.6`_.\n\n.. _`Two Scoops of Django: Best Practices for Django 1.6`: http://twoscoopspress.org/products/two-scoops-of-django-1-6\n\nAcknowledgements\n================\n\n- Many thanks to Randall Degges for the inspiration to write the book and django-skel.\n- All of the contributors_ to this project.\n\n.. _contributors: https://github.com/twoscoops/django-twoscoops-project/blob/master/CONTRIBUTORS.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwoscoops%2Fdjango-twoscoops-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwoscoops%2Fdjango-twoscoops-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwoscoops%2Fdjango-twoscoops-project/lists"}