{"id":17345110,"url":"https://github.com/sveetch/sveetch-net","last_synced_at":"2026-07-15T03:33:24.742Z","repository":{"id":9884138,"uuid":"11887632","full_name":"sveetch/sveetch-net","owner":"sveetch","description":"Just a project to build my personal site","archived":false,"fork":false,"pushed_at":"2017-11-05T14:38:53.000Z","size":955,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T15:13:54.917Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/sveetch.png","metadata":{"files":{"readme":"README.rst","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":"2013-08-05T01:15:15.000Z","updated_at":"2019-02-14T16:36:47.000Z","dependencies_parsed_at":"2022-09-10T11:51:23.985Z","dependency_job_id":null,"html_url":"https://github.com/sveetch/sveetch-net","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/sveetch%2Fsveetch-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Fsveetch-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Fsveetch-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Fsveetch-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sveetch","download_url":"https://codeload.github.com/sveetch/sveetch-net/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245824902,"owners_count":20678465,"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-15T16:29:24.418Z","updated_at":"2025-10-23T17:44:16.178Z","avatar_url":"https://github.com/sveetch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":".. _Foundation: http://foundation.zurb.com/old-docs/f3/\n.. _modular-scale: https://github.com/scottkellum/modular-scale\n.. _Compass: http://compass-style.org/\n.. _Django: http://www.djangoproject.com/\n.. _rvm: http://rvm.io/\n.. _yui-compressor: http://developer.yahoo.com/yui/compressor/\n.. _django-debug-toolbar: http://github.com/django-debug-toolbar/django-debug-toolbar/\n.. _django-admin-tools: http://pypi.python.org/pypi/django-admin-tools/\n.. _django-assets: https://github.com/miracle2k/django-assets\n.. _buildout: http://www.buildout.org/\n.. _virtualenv: http://www.virtualenv.org/\n.. _pip: http://www.pip-installer.org/\n\nJust a project to build my personal site.\n\nInstall\n=======\n\nThis project is made to be build with `buildout`_ system in a `virtualenv`_ environment. \n\nSo first you have to install `virtualenv`_ on your system, then you will need some `Devel libraries`_ on your system to compile some modules thereafter with `buildout`_.\n\nTo start, clone the project where you want then enter it and initialize the environment : ::\n\n    virtualenv --no-site-packages --setuptools .\n    source bin/activate\n\nThen for a quick test install :\n\n    make install\n\nIf success, you will have to synchronize database :\n\n    make sync\n\nAnd for production you also have to do this :\n\n    make assets\n\nBuildout environment configs and Django settings\n************************************************\n    \nIf you use the ``development.cfg`` or ``production.cfg`` config files with buildout, you will have to create the appropriate settings.\n\nWith ``development.cfg`` you should do a ``settings_development.py`` file like this : ::\n\n    from project.settings import *\n\n    INTERNAL_IPS = () # Fill this to your machine IP (the client, not your server) enable django-debug-toolbar\n\n    # Database access, only required if you don't want to use the sqlite3 database, else remove it\n    DATABASES = {\n        'default': {\n            'NAME': 'sveetchnet',\n            'ENGINE': 'django.db.backends.postgresql_psycopg2',\n            'USER': 'django',\n            'PASSWORD': 'django',\n        }\n    }\n\nWith ``production.cfg`` you should do a ``settings_production.py`` file like this : ::\n\n    from project.settings import *\n\n    DEBUG = TEMPLATE_DEBUG = False\n\n    ASSETS_DEBUG = False\n    ASSETS_ROOT = STATIC_ROOT\n    ASSETS_AUTO_BUILD = False\n\n    # Fast-cgi options\n    FCGI_OPTIONS = {\n        'method': 'threaded',\n        'daemonize': 'false',\n    }\n\n    # SMTP Settings to send Applications emails\n    EMAIL_HOST = 'localhost'\n    EMAIL_PORT = 25\n    EMAIL_SUBJECT_PREFIX = '[sveetch.net] '\n\n    # Database access\n    DATABASES = {\n        'default': {\n            'HOST': 'localhost',\n            'NAME': 'sveetchnet',\n            'ENGINE': 'django.db.backends.postgresql_psycopg2',\n            'USER': 'login',\n            'PASSWORD': 'password',\n        }\n    }\n\nYou should fit your database access and SMTP host and if you target to publish the site with **Apache2+fcgid** there is a ``etc/apache.cfg`` ready to use for your virtual host.\n\nDevel libraries\n***************\n\nThis is the devel libraries needed to compile some Python libraries, note that the package name can differ for your distribution.\n\nFor psycopg2 (a Postgresl driver for Python)\n--------------------------------------------\n\n* libpq\n* python\n\nFor Pillow\n----------\n\n* libjpeg\n* zlib\n* libfreetype\n\nWithout buildout\n****************\n\nThere is also a ``requirements.txt`` file than you can use with `virtualenv`_ + `pip`_. This document will only treat about the `buildout`_ way. Take care that this file will not be allways synchronized with current dependancies, if really needed you can do it yourself from the ``versions.cfg`` file.\n\nUsage\n=====\n\nWith the buildout install, you won't never use the common ``managed.py`` script to launch Django instance but ``django-instance`` script that was installed in you ``bin/`` directory during the buildout process.\n\nSo to launch the Django development server with defaut settings, you will do (from the ``project`` directory) : ::\n\n    django-instance runserver 0.0.0.0:8001\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsveetch%2Fsveetch-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsveetch%2Fsveetch-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsveetch%2Fsveetch-net/lists"}