{"id":25221717,"url":"https://github.com/devsetgo/server_setup","last_synced_at":"2025-04-05T12:11:52.086Z","repository":{"id":101834363,"uuid":"265603530","full_name":"devsetgo/server_setup","owner":"devsetgo","description":"server setup ","archived":false,"fork":false,"pushed_at":"2024-08-18T01:57:12.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T22:53:03.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/devsetgo.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-05-20T15:12:12.000Z","updated_at":"2024-08-18T01:57:16.000Z","dependencies_parsed_at":"2024-08-18T01:29:50.825Z","dependency_job_id":"378c3b40-0b29-4683-91ef-48442fa1b80c","html_url":"https://github.com/devsetgo/server_setup","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/devsetgo%2Fserver_setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsetgo%2Fserver_setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsetgo%2Fserver_setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsetgo%2Fserver_setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsetgo","download_url":"https://codeload.github.com/devsetgo/server_setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332611,"owners_count":20921854,"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":"2025-02-10T22:53:05.361Z","updated_at":"2025-04-05T12:11:52.039Z","avatar_url":"https://github.com/devsetgo.png","language":"Shell","readme":"# Ubuntu Server Setup\nThese scripts should work on Ubuntu 18.04 and 20.04 LTS. The scripts are used to setup my server(s) on Digital Ocean.\n\nThese are not heavily tested, as I do this maybe once or twice a year. So treat it accordingly.\n\nIf you have suggests or improvements, please feel free to create an Issue or Pull Request.\n\n\n## Server Setup\nTo use just clone the repo. You can also curl any of the scripts and change the permissions (works on Ubuntu 18.04 \u0026 20.04).\n\n- **Git Clone** \u003c-- Easiest\n```console\n\n    apt install git\n    git clone https://github.com/devsetgo/server_setup.git\n    cd server_setup\n    ./server_setup/setup_ubuntu.sh\n```\n- **Curl and Permissions set** \u003c-- change url for whatever script you want to use\n```console\n\n    curl -O https://github.com/devsetgo/server_setup/blob/master/server_setup/setup.sh\n\n    chmod +x script.sh\n    ./setup.sh\n```\n\n## WSL2 Setup\n\n- **Git Clone**\n```console\n\n    git clone https://github.com/devsetgo/server_setup.git\n    cd server_setup\n    ./wsl_setup/setup_general.sh\n\n```\n- **Clone Repos** from the server_setup main folder\n```console\n\n    python3 -m venv _venv\n    source _venv/bin/activate\n    pip3 install --upgrade pip setuptools wheel\n    pip3 install -r github_copy/requirements.txt\n    cd .. ***this will take you one folder up to your home***\n    python3 server_setup/github_copy/run.py\n    deactivate\n```\n\n\n## Other Suff\nPlease note, this is not the most secure way of securing credentials. You will need to get a Personal Access Token (https://github.com/settings/tokens).\n\n- **Git Credentials**\n```console\n\n    git config --global credential.helper store\n    git config --global user.name \"Your Name\"\n    git config --global user.email \"youremail@yourdomain.com\"\n    git config --global user.password \"your token\"\n\n```\n\n- **Git Branch Cleanup**\n```console\n\n    git fetch\n    git remote prune origin\n\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsetgo%2Fserver_setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsetgo%2Fserver_setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsetgo%2Fserver_setup/lists"}