You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently after starting the container and running rd-admin init, the db is empty.
There should be a script to easily populate the db, able to quickly:
create a few users with different permissions (a Coordinator, a Developer, and a regular user)
create a few issues with a few messages each
create a specific number of users/issues/messages/etc with specific parameters
#7 addresses the first point.
I think this might be enough, since creating new users from rd-admin is easy. Issues and messages are also easy to create from rd-admin and/or from the tracker (once it's initialized and has a few issues), so implementing the points 2-3 might be unnecessary.
I now think that implementing 4 is a good idea that can also replace 2-3, but should be developed as a separate script.
Activity
python#3: add a script to create default db users.
python#3: init the db and create default users automatically.
ezio-melotti commentedon Mar 10, 2017
#7 addresses the first point.
I think this might be enough, since creating new users from rd-admin is easy. Issues and messages are also easy to create from rd-admin and/or from the tracker (once it's initialized and has a few issues), so implementing the points 2-3 might be unnecessary.
I now think that implementing 4 is a good idea that can also replace 2-3, but should be developed as a separate script.
python#3: document automatic init and user creation in the README.
python#3: add a script to create default db users.
python#3: init the db and create default users automatically.
python#3: document automatic init and user creation in the README.
python#3: address review comments by adding comments to createusers.py.
#3: add a script to create default db users.
#3: init the db and create default users automatically.
#3: document automatic init and user creation in the README.
#3: address review comments by adding comments to createusers.py.