mikeizbicki / cmc-csci143

big data course materials
40 stars 76 forks source link

lab - set up error #473

Closed giffiecode closed 7 months ago

giffiecode commented 8 months ago

after following along the lab set up, instead of getting the below:

$ psql postgresql://postgres:pass@localhost:<PORT>
postgres=# select * from accounts;
 account_id | name
------------+------
(0 rows)

i got

postgres=# select * from accounts;

 account_id |       name        
------------+-------------------
          1 | test_account_0000
          2 | test_account_0001
          3 | test_account_0002
          4 | test_account_0003
          5 | test_account_0004
          6 | test_account_0005
          7 | test_account_0006
          8 | test_account_0007
          9 | test_account_0008
         10 | test_account_0009
         11 | test_account_0010
         12 | test_account_0011
         13 | test_account_0012
         14 | test_account_0013
         15 | test_account_0014
         16 | test_account_0015
         17 | test_account_0016
         18 | test_account_0017
         19 | test_account_0018
         20 | test_account_0019
         21 | test_account_0020
         22 | test_account_0021
         23 | test_account_0022
         24 | test_account_0023
         25 | test_account_0024
         26 | test_account_0025
         27 | test_account_0026
         28 | test_account_0027
         29 | test_account_0028
         30 | test_account_0029
         31 | test_account_0030
         32 | test_account_0031
         33 | test_account_0032
         34 | test_account_0033
         35 | test_account_0034
     when checking the account for the first time. I've just been following the tutorial and don't know what's the issue here. I've previously cloned the repo before and moved that folder to `lab-transactions.old` and have brought that docker container down 
mikeizbicki commented 8 months ago

The output you're showing here means that you've run the create_accounts.py script. If you bring the containers down and up again, that should remove these accounts.