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

Fix few VM issues within Quick_start_for_developing.md #463

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 27 additions & 6 deletions docs/Quick_start_for_developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
[ubuntu](https://www.youtube.com/watch?v=NhlhJFKmzpk&ab_channel=ProgrammingKnowledge)
on VMWare software
- Make sure you set up your git and github
- Reference website for instances of
[terminal cache-locking](https://itsfoss.com/could-not-get-lock-error/#troubleshooting-1-unable-to-acquire-the-dpkg-frontend-lock-)
; In the case of unattended processes, restart VM to install security patch updates
- Install
[docker](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
on your Ubuntu VM
Expand Down Expand Up @@ -112,7 +115,9 @@

- Linux sudo problem, see
[here](https://stackoverflow.com/questions/48568172/docker-sock-permission-denied)
for the solution
for the solution (or
[here](https://phoenixnap.com/kb/docker-permission-denied.)
for issues within the thin environment)
aaryapatel100 marked this conversation as resolved.
Show resolved Hide resolved

```
> docker pull hello-world
Expand All @@ -121,19 +126,29 @@

- Thin environment

1. Build the thin environment; this is done once
1. Ensure that python3.10-venv is installed; if not run

```
> source dev_scripts/client_setup/build.sh
> sudo apt install python3.10-venv
```

2. Build the thin environment; this is done once

2. Activate the thin environment; make sure it is always activated
```
> source dev_scripts/client_setup/build.sh
```
- If terminal crashes from
[aws-cli installation error](https://github.com/aws/aws-cli/issues/8036)
with output ending in `AttributeError: cython_sources`, open dev_scripts/client_setup/requirements.txt
and insert `pyyaml==5.3.1` at the top
aaryapatel100 marked this conversation as resolved.
Show resolved Hide resolved

3. Activate the thin environment; make sure it is always activated

```
> source dev_scripts/setenv_amp.sh
```

3. If you see output like this, your environment is successfully built! If not
4. If you see output like this, your environment is successfully built! If not
and you encounter any issues, please post them under your designated
on-boarding issue

Expand Down Expand Up @@ -208,7 +223,13 @@
- pull the latest container with `invoke docker_pull`
```

2. Start a Jupyter server
2. Exit out of app terminal prompts

```
I have no name!@60a1f38f89a3:/app$ exit
```
aaryapatel100 marked this conversation as resolved.
Show resolved Hide resolved

3. Start a Jupyter server

```
> i docker_jupyter
Expand Down