{"id":20768176,"url":"https://github.com/softwaremill/scala-space","last_synced_at":"2025-03-11T19:28:40.077Z","repository":{"id":209824081,"uuid":"724368760","full_name":"softwaremill/scala-space","owner":"softwaremill","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-29T14:05:17.000Z","size":3741,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-01-18T06:42:38.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/softwaremill.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":"2023-11-27T23:54:39.000Z","updated_at":"2023-12-20T12:50:54.000Z","dependencies_parsed_at":"2023-11-29T10:51:50.748Z","dependency_job_id":"93430051-ad0a-446d-8309-6eed3ccafa3d","html_url":"https://github.com/softwaremill/scala-space","commit_stats":null,"previous_names":["softwaremill/scala-space"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwaremill%2Fscala-space","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwaremill%2Fscala-space/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwaremill%2Fscala-space/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwaremill%2Fscala-space/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softwaremill","download_url":"https://codeload.github.com/softwaremill/scala-space/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243098009,"owners_count":20235941,"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-11-17T11:36:15.303Z","updated_at":"2025-03-11T19:28:40.052Z","avatar_url":"https://github.com/softwaremill.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"margin:30px 0;\"\u003e\n    \u003cimg src='./src/assets/icons/brands/scalaspace-color.svg' alt=\"Scala Space\" width=\"234\" height=\"93\" /\u003e\n\u003c/div\u003e\n\n## Intro\n\nThis website is built using [Docusaurus 3](https://docusaurus.io/), a modern static website generator.\n\nThe website can be viewed at: https://scalaspace.virtuslab.com/\n\n\u003cdiv style=\"margin-bottom:50px;\"\u003e\u003c/div\u003e\n\n## Installation\n\n```\nyarn\n```\n\n\u003cdiv style=\"margin-bottom:50px;\"\u003e\u003c/div\u003e\n\n## Prerequisites\n\nIn the root folder, create an `.env` file. Notice that there is a dot (`.`) before the words `env`.\n\nPaste the following environment variables and fill them with the appropriate values.\n\n```\nMAPBOX_ACCESS_TOKEN=\nHUBSPOT_PORTAL_ID=\nHUBSPOT_FORM_ID=\n```\n\n\u003cdiv style=\"margin-bottom:50px;\"\u003e\u003c/div\u003e\n\n## Local Development\n\nThe following command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.\n\n```\nyarn start\n```\n\n\u003cdiv style=\"margin-bottom:50px;\"\u003e\u003c/div\u003e\n\n## Build\n\nThe following command generates static content into the `build` directory and can be served using any static contents hosting service.\n\n```\nyarn build\n```\n\n\u003cdiv style=\"margin-bottom:50px;\"\u003e\u003c/div\u003e\n\n## Deployment\n\nThe project uses the **Git** version control system.\n\nChanges should be made on the **feature branch**. After making changes to the code, commit the changes and push them to the **remote feature branch**. Then make a `Pull Request` to the `main` branch.\n\nMerging to the `main` branch automatically starts the build process on [Netlify](https://www.netlify.com/).\n\n\u003cdiv style=\"margin-bottom:50px;\"\u003e\u003c/div\u003e\n\n## Adding subpages\n\nEach new subpage is added to the `src/pages` folder.\n\nHere you need to add a folder with the name of the subpage and in this folder create an `index.tsx` file with the content of the newly created page. The name of the subpage folder is important because the `url` address is created on this basis.\n\nFor example: if you want to create an `about` subpage (the link to such a subpage would be: `https://scalaspace.virtuslab.com/about`), you should create an `about` folder in the `src/pages` folder. And in this `about` folder you should create an `index.tsx` file. The structure will then look like this:\n\n`src/`  \n\u0026emsp;`pages/`  \n\u0026emsp;\u0026emsp;`about/`  \n\u0026emsp;\u0026emsp;\u0026emsp;`index.tsx`\n\n\u003cdiv style=\"margin-bottom:50px;\"\u003e\u003c/div\u003e\n\n## Adding data\n\nAll website data such as links, socials icons in the footer, links in the navbar, links in the sidebar, events on the home page, events on the events page or Scalar conferences are located in the `src/source` folder and are saved in the `JSON` format.\n\nChanging, deleting or adding data in any of these files will automatically be reflected in the application views.\n\nFor the application to function properly, the structure of each `.json` file must be maintained.\n\nFor example: to add another Scalar conference, add another object in the `src/source/scala-events.json` file with the structure:\n\n```json\n{\n  \"id\": 1,\n  \"coordinates\": [21.0051, 52.2146],\n  \"title\": \"Scalar Conference\",\n  \"date\": \"05 APR 2050\",\n  \"description\": \"Get ready for two days of immersive functional programming experience with the great community.\",\n  \"link\": \"https://old.scalar-conf.com/2050/\"\n}\n```\n\nwhere:\n\n- `id` must be the next identifier in turn,\n- `coordinates` is an array of two numbers in the order `[longitude, latitude]`.\n\nThe rest of the data are texts to be displayed as you wish.\n\nIn the case of this particular file, based on `coordinates`, a marker will be automatically added to the map on the `/events` subpage in the indicated location, and after clicking it, a popup with data such as title, description, etc. will appear.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwaremill%2Fscala-space","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftwaremill%2Fscala-space","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwaremill%2Fscala-space/lists"}