{"id":17228978,"url":"https://github.com/rogerfitz/box","last_synced_at":"2025-06-26T22:35:34.202Z","repository":{"id":13342273,"uuid":"16029407","full_name":"rogerfitz/box","owner":"rogerfitz","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-06T02:30:57.000Z","size":3529,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T18:52:20.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rogerfitz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-18T16:44:29.000Z","updated_at":"2016-11-06T02:28:49.000Z","dependencies_parsed_at":"2022-08-28T09:22:23.262Z","dependency_job_id":null,"html_url":"https://github.com/rogerfitz/box","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rogerfitz/box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfitz%2Fbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfitz%2Fbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfitz%2Fbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfitz%2Fbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogerfitz","download_url":"https://codeload.github.com/rogerfitz/box/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfitz%2Fbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262151861,"owners_count":23266929,"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-10-15T04:45:37.880Z","updated_at":"2025-06-26T22:35:34.155Z","avatar_url":"https://github.com/rogerfitz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"The Nice Package\n=================\nDjango webapp for The Nice Package\n\nWhile django-simple-captcha is cool in production it is a pain to setup. I recommend commenting it out in users/forms.py and believing that it works but here's a url to use it http://stackoverflow.com/questions/4011705/python-the-imagingft-c-module-is-not-installed\n\n* * *\n\nPython Setup\n===========\n\n0.0) Mountain Lion (OSX 10.8) to Mavericks (OSX 10.9)\n-----------------------\n\nIf you updated from Mountain Lion (OSX 10.8) to Mavericks (OSX 10.9) you will need clean up your python environment.\n\n0.1) Anacondas\n---------------\n\nIf you have Anacondas installed you'll need to remove it. To do that get the path\n\n    $ conda info\n\nThis will print out the path of where Anacondas is installed. Remove it\n\n    $ sudo rm -r your/anacondas/path\n\n0.2 Virtualenv\n---------------\n\nYou'll need to remove and reinstall virtualenv\n\n    $ pip uninstall virtualenv\n    $ pip install virtualenv\n\n1) Python Version\n------------------\n\nMake sure you are using Python version 2.7.x\n\n    $ python --version\n\nIf your using a different version of Python visit the Python site to learn more about version 2.7 and download the latest stable build:\nhttp://www.python.org/download/releases/2.7/\n\n2) Install pip Python Package Manager\n-------------------------------------\n\nEnter the following command to make sure you have pip installed on a global level\n\n    $ pip help\n\nIf pip is not found then run the following command\n\n    $ easy_install pip\n\n3) Install Virtualenv\n---------------------\n\nIf you don't already have virtualenv installed use pip to install the package. Virtualenv allows you to manage different Python projects, and their dependencies, within a local scope this eliminating dependency conflicts\n\n    $ pip install virtualenv\n\nEnter the following command to make sure virtualenv install correctly\n\n    $ virtualenv --help\n\n* * *\n\nLocal Setup\n===========\n\n1) Clone from master or your own fork of master\n-----------------------------------------------\n\n    $ git clone https://github.com/rogerfitz/box.git\n\n2) Change into the root directory for Box you just clones and create a new virtualenv\n-------------------------------------------------------------------------------------\n\n    $ virtualenv --distribute venv\n\nThis will create a new virtual environment called venv (which will be a directory) within the project. You'll then want to activate the new virtualenv:\n\n    $ source venv/bin/activate\n\nYour command line prompt should now be prefixed with (venv). To exit the virtual environment enter:\n\n    (venv)$ deactivate\n\n3) Installing Requirements\n--------------------------\n\nIf you are on Mac and using OSX 10.9 (Mavericks) chances are your entire Python dev setup is not functional. Follow these instructions: http://attentionshard.wordpress.com/2013/10/25/os-x-mavericks-fixing-broken-python-development-environments/\n\nOnce you have everything squared away you should be able to run the following command to install all project requirements:\n\n    (venv)$ pip install -r requirements.txt\n\nNote: You might have an error using the right version of Python if you also use Anacondas. Check out this StackOverflow: http://stackoverflow.com/questions/21635107/pip-executes-the-wrong-python-library-versions-inside-virtual-env\n\nNote 2: You might have touble installing PIL and argparse. See this StackOverflow post: http://stackoverflow.com/questions/21242107/pip-install-pil-dont-install-into-virtualenv\n\n4) Setup Local Django Development\n---------------------------------\n\nChange the BASE_DIR variable in settings.py:\n\n    BASE_DIR = \"/your/path/to/box\"\n\nNext, make sure you have PostgreSQL installed. If you're on a Mac you can checkout http://postgresapp.com/, download the application and run the Postgres server locally. If you use Linux or Windows, download it from the Postgres site and follow the instructions to run it locally: http://www.postgresql.org/download/.\n\nOnce you have Postgres running, login and create the box db:\n\n    $ sudo psql\n    username=# create database box;\n\nMake sure the database settings are now set to Postres and that you have the proper username and database name configured.\n\nNow you should be able to sync the database and run the development server.\n\n    $ venv/bin/python manage.py syncdb\n    $ venv/bin/python manage.py runserver\n\nNow go to the development server `http://127.0.0.1:8000/`. You should now see the homepage.\n\nNOTE: Since you changed your custom_settings to reflect your personal environment, and since it should not live on github, make sure you do NOT commit custom_settings.py\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerfitz%2Fbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogerfitz%2Fbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerfitz%2Fbox/lists"}