Skip to content

BETA - Batch Connect - OSC Code Server

License

Notifications You must be signed in to change notification settings

Harvard-ATG/bc_osc_codeserver

 
 

Repository files navigation

Batch Connect - OSC Code Server

GitHub Release GitHub License

An improved file viewer / editor for OSC OnDemand that launches a Code Server within a batch job. Code Server leverages VSCode as its editor.

Prerequisites

This Batch Connect app requires the following software be available on the compute nodes that the batch job is intended to run on (NOT the OnDemand node):

  • Spack must be installed to a location available to compute nodes, such as a shared storage drive.
    • The spack installation must also have a spack environment called codeserver with a code-server executable installed. This setup has been used with [email protected] succesfully.
    • This repo includes a spack environment definition file that can be used to set up a working spack environment, spack-environment/codeserver/spack.yml.
    • It may be necessary to change the . /shared/spack/share/spack/setup-env.sh line in the template/script.sh.erb if your spack installation is located somewhere other than /shared/spack

Known Issues

  • In-app installation of extensions does not work
  • The authentication provided by code-server is unencrypted

Contributing

  1. Fork it ( https://github.com/OSC/bc_osc_codeserver/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

BETA - Batch Connect - OSC Code Server

https://osc.github.io/Open-OnDemand/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 57.7%
  • Shell 42.3%