{"id":22157880,"url":"https://github.com/mkbeh/multiple-fishing","last_synced_at":"2025-06-14T02:04:46.232Z","repository":{"id":98488048,"uuid":"273077282","full_name":"mkbeh/multiple-fishing","owner":"mkbeh","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-11T20:51:56.000Z","size":1924,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T14:48:25.445Z","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/mkbeh.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":"2020-06-17T21:00:28.000Z","updated_at":"2020-07-11T20:51:58.000Z","dependencies_parsed_at":"2023-06-02T01:15:24.910Z","dependency_job_id":null,"html_url":"https://github.com/mkbeh/multiple-fishing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkbeh/multiple-fishing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkbeh%2Fmultiple-fishing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkbeh%2Fmultiple-fishing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkbeh%2Fmultiple-fishing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkbeh%2Fmultiple-fishing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkbeh","download_url":"https://codeload.github.com/mkbeh/multiple-fishing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkbeh%2Fmultiple-fishing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259747194,"owners_count":22905308,"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-12-02T03:16:08.199Z","updated_at":"2025-06-14T02:04:46.214Z","avatar_url":"https://github.com/mkbeh.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# multiple-fishing\n\n\n### Known Issues\n* There is no centering of the authentication form in firefox on the laptop mode\n\n* Nginx 404 not found on www\n\n\n## Installation\n\n### Build dependencies\n\n```\nadduser django\nusermod -aG sudo django\nsu django\ncd\n\nsudo apt update\n\nsudo apt install -y make build-essential libssl-dev zlib1g-dev \\\nlibbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev \\\nlibncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl \\\ngit libpq-dev supervisor nginx\n```\n\n\n### Python installation\n\n```\n# pyenv installation.\ncurl https://pyenv.run | bash\n\n# Load pyenv automatically by adding\n# the following to ~/.bashrc:\nexport PATH=\"$HOME/.pyenv/bin:$PATH\"\neval \"$(pyenv init -)\"\neval \"$(pyenv virtualenv-init -)\"\n\n. ~/.bashrc\n\n# Installing Python specific version.\npyenv install --list | grep \" 3\\.[678]\"\npyenv install -v 3.7.7\npyenv versions\npyenv global 3.7.7\n\n# Check current Python version.\npyenv versions\n```\n\n\n### -- preparation\n\n```\npython3.7 -m venv venv\nsource venv/bin/activate\npython3.7 -m pip install django\n```\n\n### Creating DB for Django application\n```\n# - Migrations -\npython3.7 manage.py makemigrations yandex\npython3.7 manage.py migrate\n\n# - Deploying static files - \npython3.6 manage.py collectstatic --link\n\n# - Creating superuser -\npython3.7 manage.py createsuperuser\n```\n\n\n### NGINX\n\n```\ndeactivate\nsudo systemctl enable nginx\nsudo vi /etc/sysctl.conf\n\n# - Add next line in the end of the file -\nfs.file-max = 40000\n\nsudo sysctl -p\nsudo cp multiple_fishing/server_configs/nginx.conf /etc/nginx/\n\n# - Fill in the nginx.conf -\n# - return 301 $sheme://\u003cdomain.com\u003e; Change domain on yours in this line -  \nsudo vi /etc/nginx/nginx.conf\n\n# - Fill in the config file custom_nginx.conf - \nvi multiple_fishing/server_configs/custom_nginx.conf\n\nsudo nginx -t\n```\n\n\n### Adding SSL\n\n```\n# NOTE: check latest certbot instruction on official site\n# https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx ,\n# there maybe some changes\n\nsudo apt-get update\nsudo apt-get install software-properties-common\nsudo add-apt-repository universe\nsudo apt-get update\nsudo apt-get install certbot python3-certbot-nginx\n\nsudo certbot --nginx -d \u003cdomain.com\u003e certonly\nsudo rm /etc/letsencrypt/options-ssl-nginx.conf\n\ncrontab -e\n# - Add next line for auto updating cert -\n@daily certbot renew\n\n# - Uncomment ssl supporting in custom_nginx.conf\n```\n\n\n### UWSGI\n\n```\nsudo python3.7 -m pip install uwsgi\n\n# - Fill in the config file custom_uwsgi.ini -\nvi /path/to/custom_uwsgi.ini\n\n# - Copy configs to /etc/...\nsudo mkdir -p /etc/uwsgi/vassals\nsudo cp /path/to/server_configs/emperor.ini /etc/uwsgi/\nsudo ln -s /abs/path/to/server_configs/custom_uwsgi.ini /etc/uwsgi/vassals\n\nsudo systemctl restart nginx.service\n\n# - Running the Django application with uwsgi and nginx -\n# - Need for debug , another use systemd -\nuwsgi --emperor /etc/uwsgi/emperor.ini\n\n# - UWSGI production -\nsudo cp /path/to/server_configs/emperor.uwsgi.service /etc/systemd/system/\n\nsudo systemctl daemon-reload\nsudo systemctl start emperor.uwsgi.service\nsudo systemctl enable emperor.uwsgi.service\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkbeh%2Fmultiple-fishing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkbeh%2Fmultiple-fishing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkbeh%2Fmultiple-fishing/lists"}