Commit Graph

118 Commits (cca5a294833d6766663afa43b6c1c84c58c4cd50)

Author SHA1 Message Date
junos 30bae2c1f9 Configure tests as a module. 2020-12-31 11:50:57 +01:00
junos 6dcb0daae7 Continue with the tutorial. 2020-12-24 16:57:34 +01:00
junos bc27c71041 Copy Models and edit for imports. 2020-12-24 16:46:55 +01:00
junos 8d114ebb13 Use SQLAlchemy to connect to DB. 2020-12-24 16:06:23 +01:00
junos 33d048d11b Remove pre-commit hooks.
Because PyCharm does not activate conda environment, this doesn't work properly.
I left in the formatting tools (black, isort etc.) which can be used manually.
2020-12-24 14:38:52 +01:00
junos 82ef8c4d40 Set the DB variables in setup.py 2020-12-24 14:29:47 +01:00
junos c6e984f2f9 Test database connection 2020-12-24 14:11:58 +01:00
junos e8b5f93401 Reformat code. 2020-12-24 14:08:31 +01:00
junos c735ff7a85 Test that the environment variable was set. 2020-12-24 14:04:02 +01:00
junos 9711c1b202 Use python-dotenv for environment variables.
PyCharm did not load conda environment variables.
2020-12-24 14:03:36 +01:00
junos 471aca4587 Instructions for environment variables. 2020-12-24 12:04:22 +01:00
junos 280fa5867c Create the environment from file.
Add conda-forge as a channel for some packages.
2020-12-24 11:41:21 +01:00
junos dcd5bdbdd1 Only list the user-specified packages in environment.yml.
Let conda satisfy dependencies on each platform separately.
2020-12-24 11:35:16 +01:00
junos 2aa69aeb44 Write basic installation instructions. 2020-12-23 17:16:11 +01:00
junos 5d805c3636 Add the rest of the .idea files to VCS. 2020-12-23 17:12:33 +01:00
junos 5fc646309a Add a gitignore for files in .idea. 2020-12-23 17:11:22 +01:00
junos 98815ec973 Set up requirements.
Install packages to check the code formatting.
Do this before every commit.
2020-12-23 17:06:25 +01:00
Junos Lukan 6b65b48436 Initial commit 2020-12-23 16:18:03 +01:00