Permalink
Browse files

note about requirements.txt

  • Loading branch information...
reuben committed Feb 11, 2020
1 parent 67671c2 commit 0549f018362bb055c59d3783410f9a531c63fd48
Showing with 19 additions and 0 deletions.
  1. +19 −0 note.md
19 note.md
@@ -0,0 +1,19 @@
remember you have to manually write the requirements.txt file

(this is like package.json)

pip (pip3) won't do it for you

you do this after you install a module by running

```bash
$ pip3 freeze > requirements.txt
```


later when you clone a flask app from somewhere else, to get all the modules listed in the requirements.txt file, run

```bash
$ pip3 install -r requirements.txt
```

0 comments on commit 0549f01

Please sign in to comment.