Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ› οΈ Use the correct command to run the app in Gitpod #241

Closed
neon-mmd opened this issue Sep 15, 2023 · 1 comment Β· Fixed by #248
Closed

πŸ› οΈ Use the correct command to run the app in Gitpod #241

neon-mmd opened this issue Sep 15, 2023 · 1 comment Β· Fixed by #248

Comments

@neon-mmd
Copy link
Owner

Description

Provide the correct command to automatically run the app in the terminal when Gitpod starts by replacing the command from PKG_ENV=dev ./target/release/websurfx to PKG_ENV=dev ./target/debug/websurfx under the tasks sections in the .gitpod.yml file, which can be found under the websurfx directory (codebase).

The below code is of the .gitpod.yml file, with changes to be made are highlighted. The red and green line codes in the code below indicate that the red line code is currently present in the .gitpod.yml file and needs to be removed and replaced with the green line code, which is the new code.

---
image:
    file: .gitpod.Dockerfile

# Commands that will run on workspace start 
tasks: 
    - name: Start Redis Server
      command: redis-server --port 8082
    - name: Run The App
      init: cargo build
-      command: PKG_ENV=dev ./target/release/websurfx
+      command: PKG_ENV=dev ./target/debug/websurfx
    - name: Tests
      command: cargo test
    - name: Clippy Checks
      command: cargo clippy

# vscode IDE setup
vscode: 
   extensions: 
    - vadimcn.vscode-lldb
    - cschleiden.vscode-github-actions
    - rust-lang.rust-analyzer
    - bungcip.better-toml
    - serayuzgur.crates
    - usernamehw.errorlens
    - DavidAnson.vscode-markdownlint
    - esbenp.prettier-vscode
    - stylelint.vscode-stylelint
    - dbaeumer.vscode-eslint
    - evgeniypeshkov.syntax-highlighter
    - ms-azuretools.vscode-docker
    - Catppuccin.catppuccin-vsc
    - PKief.material-icon-theme
    - oderwat.indent-rainbow
    - formulahendry.auto-rename-tag
    - swellaby.vscode-rust-test-adapter
    - belfz.search-crates-io
    - hbenl.test-adapter-converter
    - hbenl.vscode-test-explorer
    - eamodio.gitlens

github: 
   prebuilds: 
      master: true 
      branches: true 
      pullRequests: true 
      pullRequestsFromForks: true 
      addCheck: true 
      addComment: false
      addBadge: true

Note

  1. To get started contributing make sure to read the contributing.md file for the guidlines on how to contribute in this project
  2. To contribute first fork this project by following this video tutorial if you are not familliar with process and add your changes and make a pull request with the changes to this repository and if you are new to GitHub then follow this video tutorial to get started contributing πŸ™‚ .

Screenshots

No response

Do you want to work on this issue?

None

Additional information

No response

@github-actions
Copy link

The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/neon-mmd/websurfx/blob/rolling/CONTRIBUTING.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants