Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aaronjsutton/dev-shell-1632

A development environment for Pitt CS 1632
https://github.com/aaronjsutton/dev-shell-1632

Last synced: 3 days ago
JSON representation

A development environment for Pitt CS 1632

Awesome Lists containing this project

README

        

# Dev Shell: 1632

## What is this?

A shell with all the package requirements for this class. Run everything you
need on your machine with a single command, no manual Java installation
necessary.



## Why?

> Codespaces are very useful, but sometimes you just need a quick terminal
> for debugging.

## How do I use this?

First, you will need to install the [Nix package manager](https://nixos.org/download).

Enable experimental `nix` features (one time setup):

```bash
echo "extra-experimental-features = nix-command flakes" >>
~/.config/nix/nix.conf

```

Clone this repository:

```bash
git clone [email protected]/aaronjsutton/dev-shell-1632
```

**Run the shell via `nix develop`**:

```bash
cd dev-shell-1632
nix develop
```

Wait a _hot minute_ for the magic to happen, and you'll see a new shell has been
started. This shell has `git`, `mvn`, and all the Java 11 tools necessary—
have a blast.

### What platforms?

- macOS, and any Linux distro provided you have Nix.
- Docker
- Windows

### Does it support Docker?

Yes.

```bash
cd dev-shell-1632
docker run -it -v $PWD:/root/workspace -w /root/workspace nixos/nix
```

### Does it support Windows?

Probably yes, if you use [WSL](https://learn.microsoft.com/en-us/windows/wsl/about).

### Does it support Apple Silicon?

Probably, but I haven’t tested it.