{"id":18924341,"url":"https://github.com/desmos-labs/website","last_synced_at":"2025-04-15T12:32:32.391Z","repository":{"id":40371883,"uuid":"400370523","full_name":"desmos-labs/website","owner":"desmos-labs","description":"Repository of the official Desmos website","archived":false,"fork":false,"pushed_at":"2024-02-14T08:53:25.000Z","size":49289,"stargazers_count":1,"open_issues_count":16,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T21:12:38.725Z","etag":null,"topics":["nextjs","react","typescript","website"],"latest_commit_sha":null,"homepage":"https://desmos.network","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/desmos-labs.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}},"created_at":"2021-08-27T02:59:01.000Z","updated_at":"2023-04-18T04:37:22.000Z","dependencies_parsed_at":"2023-12-13T15:41:10.776Z","dependency_job_id":null,"html_url":"https://github.com/desmos-labs/website","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desmos-labs%2Fwebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desmos-labs%2Fwebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desmos-labs%2Fwebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desmos-labs%2Fwebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desmos-labs","download_url":"https://codeload.github.com/desmos-labs/website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072456,"owners_count":21208189,"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":["nextjs","react","typescript","website"],"created_at":"2024-11-08T11:06:33.637Z","updated_at":"2025-04-15T12:32:28.761Z","avatar_url":"https://github.com/desmos-labs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Desmos\n\n## Environment Variable Files\n\n[Files on the left have more priority than files on the right:](https://create-react-app.dev/docs/adding-custom-environment-variables/#what-other-env-files-can-be-used)\n`yarn start`: `.env.development.local`, `.env.local`, `.env.development`, `.env`\n`yarn build`: `.env.production.local`, `.env.local`, `.env.production`, `.env`\n\n## Development\n\n1. Duplicate `./app/.env.development.local.example` to `./app/.env.development.local`\n2. Update values within `.env.development.local` if necessary\n3. Run `sh dev-up.sh`\n4. Check the site at **localhost:4580**\n\n## Setup on Server\n\nServer should have Node 16, Yarn and PM2 installed.\n\n1. Clone the project to the server\n2. Duplicate `./app/.env.production.local.example` to `./app/.env.production.local`\n3. Update `NEXT_PUBLIC_HOSTNAME` within `./app/.env.production.local`\n4. `cd` to `./app`\n5. Run `yarn --ignore-engines` (Expected version \"^10.13.0 || ^12.13.0 || ^14.15.0 || \u003e=15.0.0\". Got \"14.13.1\". Since there is no LTS Nodejs version in these expected versions, we use `--ignore-engines` to install the packages first, until a suitable LTS version has been released.)\n6. Run `yarn build`\n7. Run `pm2 start yarn --name desmos -- start`\n8. Run `pm2 save`\n9. Update nginx config inside `/etc/nginx/sites-available` on the server to the same as `/nginx/nginx.conf` in this repo\n10. Run `sudo systemctl restart nginx.service`\n\n## Deployment\n\n1. Run `git pull origin`\n2. `cd` to `./app`\n3. Run `yarn --ignore-engines` (Expected version \"^10.13.0 || ^12.13.0 || ^14.15.0 || \u003e=15.0.0\". Got \"14.13.1\". Since there is no LTS Nodejs version in these expected versions, we use `--ignore-engines` to install the packages first, until a suitable LTS version has been released.)\n4. Run `yarn build`\n5. Run `pm2 restart desmos`\n\n## Reminds\n\n1. Environment variables should be prefixed with `NEXT_PUBLIC_`. otherwise `process.env` won't read them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesmos-labs%2Fwebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesmos-labs%2Fwebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesmos-labs%2Fwebsite/lists"}