{"id":22173007,"url":"https://github.com/crashinvaders/crashinvaders-site","last_synced_at":"2025-07-21T20:34:51.332Z","repository":{"id":109494090,"uuid":"287963098","full_name":"crashinvaders/crashinvaders-site","owner":"crashinvaders","description":"Our almighty embassy on the web","archived":false,"fork":false,"pushed_at":"2024-11-03T19:56:18.000Z","size":4496,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T17:53:12.984Z","etag":null,"topics":["website"],"latest_commit_sha":null,"homepage":"http://crashinvaders.com","language":"Pug","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/crashinvaders.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":"2020-08-16T14:46:32.000Z","updated_at":"2024-11-03T19:56:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea5b419e-561a-4da2-b7d8-017e5a578eae","html_url":"https://github.com/crashinvaders/crashinvaders-site","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crashinvaders/crashinvaders-site","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashinvaders%2Fcrashinvaders-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashinvaders%2Fcrashinvaders-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashinvaders%2Fcrashinvaders-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashinvaders%2Fcrashinvaders-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crashinvaders","download_url":"https://codeload.github.com/crashinvaders/crashinvaders-site/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashinvaders%2Fcrashinvaders-site/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263719562,"owners_count":23501063,"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":["website"],"created_at":"2024-12-02T07:29:41.803Z","updated_at":"2025-07-05T09:35:55.627Z","avatar_url":"https://github.com/crashinvaders.png","language":"Pug","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Working with the sources\n\nThe project is \n- Assembled by [NPM](https://www.npmjs.com/) \n- Bundled by [Webpack](https://webpack.js.org/) \n- Coded with [TypeScript](https://www.typescriptlang.org/)\n- Templated with [Pug](https://pugjs.org/)\n- Styled with [SASS](https://sass-lang.com/)\n\nTo build, test and deploy the site you gonna need [`npm` installed](https://docs.npmjs.com/downloading-and-inss-lang.com/)talling-node-js-and-npm) on your system.\nThen to configure the dependencies and prepare development environment, execute\n```\nnpm install\n```\n\nFrom now on, use one of the commands from under the `package.json` \"scripts\" section to do stuff. To see the full list of scripts run\n```\nnpm run\n```\n\n### NPM Security Issues\n\nIf `npm` fails the build and spits off the `ERR_OSSL_EVP_UNSUPPORTED` error, you might want to look to upgrade to the latest `nodejs/npm` or just skip the damn thing with:\n```bash\nexport NODE_OPTIONS=--openssl-legacy-provider\n```\n\n## Important scripts\n\n`npm start` - starts a dev HTTP server and incrementally recompiles the project as you change the sources (read the console output for details). Simply go to http://localhost:3000/ once the dev server is running.\n\n`npm run build` or  \n`npm run build:dev` - assembles the dev website and outputs the files to `./dist`\n\n`npm run build:release` - same as above but outputs production ready files.\n\n`npm run deploy` - Deploys the production files to the AWS S3. Read the section below.\n\n# Deployment\n\nWe host the website files statically on AWS S3 service.\n\nTo automate the deployment process, the project has a simple command\n```\nnpm run deploy\n```\n\nIn order to work, the command needs [AWS Command Line Interface](https://aws.amazon.com/cli/) to be installed and configured on the system. Here's what you need to do:\n\n### 1. Install `awscli`  \n\nFor Windows - https://awscli.amazonaws.com/AWSCLIV2.msi  \nFor Debian based Linux execute the command:\n```\nsudo apt install awscli\n```\n\n### 2. Configure `aws` profile\n\nHere's [the doc](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) describing the AWS configuration file and format. But the configuration can be done using the `aws` command line tool.\n\nWe use `crashinvaders` profile in the `deploy` command. To setup a new profile, execute the command:\n```\naws configure --profile crashinvaders\n```\n\nIt will ask you to enter your AWS personal access key ID and the secret key (ask Anton for those). Here's the full set of data required and what you should put in there:\n```\nAWS Access Key ID: ***\nAWS Secret Access Key: ***\nDefault region name [None]: eu-central-1\nDefault output format [None]: text\n```\n\nOnce it's done, you're good to go with the `deploy` NPM command.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrashinvaders%2Fcrashinvaders-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrashinvaders%2Fcrashinvaders-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrashinvaders%2Fcrashinvaders-site/lists"}