{"id":20038035,"url":"https://github.com/perfectlysoft/perfect-ubuntu","last_synced_at":"2025-05-05T06:32:00.584Z","repository":{"id":69670185,"uuid":"65417016","full_name":"PerfectlySoft/Perfect-Ubuntu","owner":"PerfectlySoft","description":"Install Swift and Perfect dependencies into an Ubuntu 16.04 system.","archived":false,"fork":false,"pushed_at":"2019-02-27T05:59:51.000Z","size":15,"stargazers_count":35,"open_issues_count":0,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-08T18:51:24.345Z","etag":null,"topics":["server-side-swift","swift","ubuntu"],"latest_commit_sha":null,"homepage":"https://www.perfect.org","language":"Shell","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/PerfectlySoft.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-10T21:16:01.000Z","updated_at":"2024-06-23T22:34:24.000Z","dependencies_parsed_at":"2023-04-18T07:16:57.852Z","dependency_job_id":null,"html_url":"https://github.com/PerfectlySoft/Perfect-Ubuntu","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectlySoft%2FPerfect-Ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectlySoft%2FPerfect-Ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectlySoft%2FPerfect-Ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectlySoft%2FPerfect-Ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerfectlySoft","download_url":"https://codeload.github.com/PerfectlySoft/Perfect-Ubuntu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252451618,"owners_count":21749958,"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":["server-side-swift","swift","ubuntu"],"created_at":"2024-11-13T10:24:52.697Z","updated_at":"2025-05-05T06:32:00.578Z","avatar_url":"https://github.com/PerfectlySoft.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install Swift 4.0.3 into an Ubuntu 16.04 System\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"http://perfect.org/get-involved.html\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://perfect.org/assets/github/perfect_github_2_0_0.jpg\" alt=\"Get Involed with Perfect!\" width=\"854\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/PerfectlySoft/Perfect\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://www.perfect.org/github/Perfect_GH_button_1_Star.jpg\" alt=\"Star Perfect On Github\" /\u003e\n    \u003c/a\u003e  \n    \u003ca href=\"http://stackoverflow.com/questions/tagged/perfect\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://www.perfect.org/github/perfect_gh_button_2_SO.jpg\" alt=\"Stack Overflow\" /\u003e\n    \u003c/a\u003e  \n    \u003ca href=\"https://twitter.com/perfectlysoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://www.perfect.org/github/Perfect_GH_button_3_twit.jpg\" alt=\"Follow Perfect on Twitter\" /\u003e\n    \u003c/a\u003e  \n    \u003ca href=\"http://perfect.ly\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://www.perfect.org/github/Perfect_GH_button_4_slack.jpg\" alt=\"Join the Perfect Slack\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://developer.apple.com/swift/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat\" alt=\"Swift 4.0\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://developer.apple.com/swift/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Platforms-OS%20X%20%7C%20Linux%20-lightgray.svg?style=flat\" alt=\"Platforms OS X | Linux\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://perfect.org/licensing.html\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-Apache-lightgrey.svg?style=flat\" alt=\"License Apache\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://twitter.com/PerfectlySoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Twitter-@PerfectlySoft-blue.svg?style=flat\" alt=\"PerfectlySoft Twitter\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://perfect.ly\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://perfect.ly/badge.svg\" alt=\"Slack Status\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nThis project includes a script which will install Swift and all major dependencies for Perfect directly into your Ubuntu system.  The account using the script will require administrative privileges.  You can invoke the script by using the following commands:\n\n```\ngit clone https://github.com/PerfectlySoft/Perfect-Ubuntu.git\ncd Perfect-Ubuntu/\nchmod +x ./install.sh\nsudo ./install.sh --sure\n```\n\nNote that this also includes the client libraries for `sqlite3`, `postgres`, `mysql`, `mongodb` - not the servers.\n\nOnce this has been completed, you can now build. For example:\n\n```\n# Optional: execute if you are still in the Perfect-Ubuntu directory!\ncd ../ \n\n# clone a project\ngit clone https://github.com/PerfectExamples/Perfect-Session-PostgreSQL-Demo.git\n\n# enter the directory\ncd Perfect-Session-PostgreSQL-Demo/\n\n# build the project\nswift build -c release\n```\n\nOnce the project has successfully built, you will see the last line is:\n\n```\nLinking ./.build/release/Perfect-Session-PostgreSQL-Demo\n```\n\nAlso included in this repository is a sample Service file, `perfect-app-template.service`\n\nTo change this to your work for your own executable, change the file to values appropriate to your situation.\n\n```\n[Unit]\nDescription=Perfect deployed \u003cexecutable-reference\u003e\n\n[Service]\nType=simple\nWorkingDirectory=/perfect-deployed/\u003cdirectory-name\u003e\nExecStart=/perfect-deployed/\u003cdirectory-name\u003e/\u003cexecutable-name\u003e\nRestart=always\nPIDFile=/var/run/\u003cexecutable-reference\u003e.pid\n\n[Install]\nWantedBy=multi-user.target\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectlysoft%2Fperfect-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperfectlysoft%2Fperfect-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectlysoft%2Fperfect-ubuntu/lists"}