{"id":24054667,"url":"https://github.com/vmikk/phylotwin_react","last_synced_at":"2025-02-26T10:44:31.378Z","repository":{"id":270842004,"uuid":"911550014","full_name":"vmikk/phylotwin_react","owner":"vmikk","description":"PhyloTwin-GUI","archived":false,"fork":false,"pushed_at":"2025-02-17T11:29:51.000Z","size":3337,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T12:29:29.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/vmikk.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":"2025-01-03T09:28:36.000Z","updated_at":"2025-02-17T11:29:54.000Z","dependencies_parsed_at":"2025-02-06T09:34:40.139Z","dependency_job_id":null,"html_url":"https://github.com/vmikk/phylotwin_react","commit_stats":null,"previous_names":["vmikk/phylotwin_react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmikk%2Fphylotwin_react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmikk%2Fphylotwin_react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmikk%2Fphylotwin_react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmikk%2Fphylotwin_react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmikk","download_url":"https://codeload.github.com/vmikk/phylotwin_react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840048,"owners_count":19866164,"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-01-09T03:49:18.996Z","updated_at":"2025-02-26T10:44:31.325Z","avatar_url":"https://github.com/vmikk.png","language":"JavaScript","readme":"\n## PhyloTwin-GUI - GUI for GBIF occurrence data processing pipeline\n\n#### Other components of the workflow:\n - https://github.com/vmikk/phylotwin-preprocessor\n - https://github.com/vmikk/phylotwin\n\n\n### Local development\n\nInstall Java using SDKMAN (required for Nextflow):\n\n```bash\n# Install SDKMAN\ncurl -s https://get.sdkman.io | bash\n\n# .. Open a new terminal\n# and install Java\nsdk install java 17.0.10-tem\njava -version\n```\n\nInstall Nextflow and pull the core pipeline:\n\n```bash\n# Install Nextflow\ncurl -s https://get.nextflow.io | bash\n\n# Pull the core pipeline\nnextflow pull vmikk/phylotwin -r main\n```\n\nPull pipeline dependencies:\n\n```bash\ndocker pull vmikk/phylotwin:0.6.0\ndocker pull vmikk/biodiverse:1.6.0\n```\n\n\nInstall Node.js and npm:  \n\n```bash\n# Download and install nvm\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash\n\n# Download and install Node.js\nnvm install 22\n\n## Verify the Node.js version\nnode -v      # v22.12.0\nnvm current  # v22.12.0\n\n## Verify npm version\nnpm -v       # 10.9.0\n```\n\nInstall project dependencies:  \n\n```bash\n## Install project dependencies for the client\ncd client\nnpm install --legacy-peer-deps\n\n## Install project dependencies for the server\ncd ../server\nnpm install --legacy-peer-deps\n```\n\n\n## Start the development servers - need two terminal tabs\n\n```bash\n# Terminal 1 (for the backend) - In the server directory\nnpm run dev\n# nodemon server.js  # assuming server.js is your entry point\n\n# Terminal 2 (for the frontend) - In the client directory\nnpm start\n```\n\nFrontend is at http://localhost:3000  \nBackend API is at http://localhost:5000  \n\n\n## Debugging\n\nTo set development mode and enable detailed logs:\n```bash\nexport NODE_ENV=development\n```\n\nProduction mode logs only errors and warnings:\n```bash\nexport NODE_ENV=production\n```\n\n\nTo see the logs in the browser:\n- Open developer tools\n- Go to the Console tab\n- You'll see all client-side logs when submitting the form\n\nIn the server terminal, one may find detailed logs about:\n- Job initialization\n- File contents\n- Nextflow command being executed\n- Process output and errors\n\n\n\n## Previous version of the GUI\n\nThe first version of the GUI was developed by Thomas Stjernegaard Jeppesen at GBIF\n\n#### React web app - frontend\nhttps://github.com/gbif/phylonext-ui\n\n#### Backend\nhttps://github.com/gbif/phylonext-ws\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmikk%2Fphylotwin_react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmikk%2Fphylotwin_react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmikk%2Fphylotwin_react/lists"}