{"id":18527505,"url":"https://github.com/aurelius84/django_web","last_synced_at":"2026-04-17T05:03:19.788Z","repository":{"id":112060145,"uuid":"99172807","full_name":"Aurelius84/django_web","owner":"Aurelius84","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-07T15:40:45.000Z","size":738,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T00:41:46.761Z","etag":null,"topics":["admin","corpus-data","django","machine-learning-practice","nginx","uwsgi"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aurelius84.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-08-03T00:28:41.000Z","updated_at":"2018-10-07T15:40:47.000Z","dependencies_parsed_at":"2023-09-10T05:31:53.864Z","dependency_job_id":null,"html_url":"https://github.com/Aurelius84/django_web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aurelius84/django_web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aurelius84%2Fdjango_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aurelius84%2Fdjango_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aurelius84%2Fdjango_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aurelius84%2Fdjango_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aurelius84","download_url":"https://codeload.github.com/Aurelius84/django_web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aurelius84%2Fdjango_web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["admin","corpus-data","django","machine-learning-practice","nginx","uwsgi"],"created_at":"2024-11-06T17:55:19.708Z","updated_at":"2026-04-17T05:03:19.768Z","avatar_url":"https://github.com/Aurelius84.png","language":"JavaScript","readme":"# django_web\ndjango_web is a website project based on `Django Admin model`, which helps us tagging corpus manually and easily.\nThe project is deployed by `Nginx+uwsgi`, it means that you should have already installed `Nginx` on your environment.\n\n`django_web.mysite.mysite_nginx.conf` contains all config information of nginx. You can just copy the content into `/etc/nginx/conf.d/nginx.conf`.\n\n`django_web.mysite.mysite_uwsgi.ini` is the uwsgi ini file. After nginx is already well-configed and service is started, you can run  `uwsgi --ini mysite_uwsgi.ini` to deployed your website.\n\n**Note:** `uwsgi` must be installed correctly. For example no error like this when you install uwsgi `!!! no internal routing support, rebuild with pcre support !!!`\n\n\n### Requirements\n- `Django \u003e= 1.10`\n- `PyMySQL`\n- `django_smart_selects==1.5.2`\n- `python3.5`\n\n### How to use\n\n- **Install virtualenv**\n```bash\n$ pip install virtualenv\n\n$ git clone the/project/github/url\n\n# cd project\n$ cd /your/path/to/project/django_web\n\n# make env using python 3.5\n$ virtualenv env --python=python3\n\n# you will see a new dir named “env”; activate the env by followed cmd:\n$ source env/bin/activate\n```\n\n- **Install requirements via `pip`**\n\n```bash\n$ pip install -r requirements.txt\n```\n\n- **Nginx and uwsgi**\n\n```bash\n# suppose you have installed Nginx and uwsgi\n# sudo install nginx\n# pip install uwsgi\n\n# nginx\n$ cat mysite_nginx.conf \u003e\u003e /etc/nginx/conf.d/nginx.conf\n# if there no other www-data web deployed in nginx, you can run:\n$ sudo cp mysite_nginx.conf /etc/nginx/conf.d/nginx.conf\n# start nginx service\n$ sudo /etc/init.d/nginx start\n\n# update your IP in setting.py\n$ ifconfig\n# copy your machine IP\n# update mysit/setting.py ALLOWED_HOSTS like:\n# ALLOWED_HOSTS = ['YOUR IP']\n\n# start uwsgi\n$ uwsgi --ini mysite_uwsgi.ini\n```\n\n- **Visit your website**\n```bash\nopen chrome and visit **http://your_ip:88/admin**\n```\n### Interface\n- **Login**\n![Login](https://github.com/KillersDeath/django_web/blob/master/mysite/login.png?raw=true)\n- **Corpus tagging**\n![tagging](https://github.com/KillersDeath/django_web/blob/master/mysite/corpustag/ico.png?raw=true)\n\n### License\n\nGNU (for details, please refer to [LICENSE](https://github.com/KillersDeath/django_web/blob/master/LICENSE))\n\nCopyright (c) 2017 LiujieZhang\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faurelius84%2Fdjango_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faurelius84%2Fdjango_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faurelius84%2Fdjango_web/lists"}