jwasham / computer-science-flash-cards

Mini website for testing both general CS knowledge and enforce coding practice and common algorithm/data structure memorization.
Creative Commons Attribution Share Alike 4.0 International
8.46k stars 2.02k forks source link

Running in docker container with backup file typo #33

Closed sourabh3b closed 6 years ago

sourabh3b commented 6 years ago

In the section How to run with Docker, there's a typo in second part. It's written (note: there's : written after -v flag, it shouldn't be there)

docker run -d -p 8000:8000 --name cs-flash-cards -v :<path_to_folder_contains_cards_db>:/src/db cs-flash-cards

It should be docker run -d -p 8000:8000 --name cs-flash-cards -v <path_to_folder_contains_cards_db>:/src/db cs-flash-cards

jwasham commented 6 years ago

Thanks for finding that! Please do a pull request with the fix.

sourabh3b commented 6 years ago

sure, just raised a PR with fix.

jwasham commented 6 years ago

Merged. Thank you!