mikeizbicki / cmc-csci143

big data course materials
41 stars 76 forks source link

ls -R print a ton of text #436

Closed giffiecode closed 9 months ago

giffiecode commented 9 months ago

everytime I run the 'ls-R' in root folder, it output A TON of content. I can see the project structure scattered in the output but it's really difficult to find all the relevant project structures. anyone has encountered this issue? how to get a clean project structure printed?

giffiecode commented 9 months ago

snippet from the output

./services/web/env/share:
python-wheels

./services/web/env/share/python-wheels:
appdirs-1.4.3-py2.py3-none-any.whl         idna-2.6-py2.py3-none-any.whl             requests-2.18.4-py2.py3-none-any.whl
CacheControl-0.11.7-py2.py3-none-any.whl   ipaddress-0.0.0-py2.py3-none-any.whl      retrying-1.3.3-py2.py3-none-any.whl
certifi-2018.1.18-py2.py3-none-any.whl     lockfile-0.12.2-py2.py3-none-any.whl      setuptools-39.0.1-py2.py3-none-any.whl
chardet-3.0.4-py2.py3-none-any.whl         packaging-17.1-py2.py3-none-any.whl       six-1.11.0-py2.py3-none-any.whl
colorama-0.3.7-py2.py3-none-any.whl        pip-9.0.1-py2.py3-none-any.whl            urllib3-1.22-py2.py3-none-any.whl
distlib-0.2.6-py2.py3-none-any.whl         pkg_resources-0.0.0-py2.py3-none-any.whl  webencodings-0.5-py2.py3-none-any.whl
distro-1.0.1-py2.py3-none-any.whl          progress-1.2-py2.py3-none-any.whl         wheel-0.30.0-py2.py3-none-any.whl
html5lib-0.999999999-py2.py3-none-any.whl  pyparsing-2.2.0-py2.py3-none-any.whl

./services/web/project:
config.py  docker-compose.yml  __init__.py  __pycache__

./services/web/project/__pycache__:
__init__.cpython-36.pyc
abizermamnoon commented 9 months ago

that might be because you did not remove your virtual environment folder you created in your web directory in the first few steps

giffiecode commented 9 months ago
Yuechen.Pei.23@lambda-server:~/flask-on-docker$ ls -a
.  ..  docker-compose.prod.yml  docker-compose.yml  .env.dev  .env.prod  .env.prod.db  .git  services

Does the above ls -a command in the root folder look correct?

mikeizbicki commented 9 months ago

@abizermamnoon is correct. This is also the cause of the problem in #433.

giffiecode commented 9 months ago

@abizermamnoon @mikeizbicki what's the command for removing the virtual environment?

I've tried rm -rf venv and rm -rf env and sudo rm -rf venv but all seem not working