-
Notifications
You must be signed in to change notification settings - Fork 1
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
ReadMe and Database Setup #70
base: development
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple issues for me. Also at the bottom of setup.sh it is still doing celts things with config and reset_database. That should be changed for bcsr
3. Click on "New" on top of the sidebar at the left of the screen | ||
4. If there is already a database named "bcsr", drop it | ||
5. Create a new database with the name "bcsr" | ||
6. Run ```python create_db.py``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get this error when trying to create databases
(venv) ramsayb2@Berea-C02ZC049LVDN:~/dev/bcsr %>python create_db.py 0 - ttys004
Traceback (most recent call last):
File "/Users/ramsayb2/dev/bcsr/create_db.py", line 14, in <module>
sqlite_dbs = [ conf['databases']['dev']
KeyError: 'databases'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are codes that we edited that we would like to merge into development and this line was changed to sqlite_dbs = [ conf['databases'][0]
. Is it maybe you haven't merged those codes in ur branch yet?
This PR updates the README of bcsr to align with the current work environment and database models.
To successfully create DB for this repo, we had to make some changes to the code in
create_db.py
andconfig.yaml
. We made these changes by referencing CELTS's create_db.pyand
config.yaml` and debugging.Test:
Follow the README steps to setup bscr and its database.