Commit Graph

1334 Commits

Author SHA1 Message Date
9fcb2a1a39 Add shfmt config 2023-08-27 18:59:58 +02:00
45a2d9ed22 Replace poetry with pdm
In addition we stop using Nix managing the Python dependencies. It just takes
too much time to again and again fix the various problems.
2023-08-27 18:59:58 +02:00
46b0c579e1 Merge branch 'dev' of github.com:Nebucatnetzer/network_inventory into dev 2023-08-27 12:27:08 +02:00
48a484545b Update flake 2023-08-27 12:26:59 +02:00
Andreas Zweili
1da451dff5 Open the webserver URL in the default browser 2023-08-03 11:12:35 +02:00
26a0f86786 Create the poetry venv in the project directory 2023-07-24 09:51:32 +02:00
69e5a5bb16 Refactor internal functions 2023-07-22 18:27:33 +02:00
844a2ff694 Add descriptions 2023-07-22 18:24:48 +02:00
29ed447c5e Add dev stop command 2023-07-22 17:24:15 +02:00
c52bc7c382 Allow IP 0.0.0.0 2023-07-22 16:40:59 +02:00
ea33c3ffea Show URL to webserver 2023-07-22 16:37:49 +02:00
f2912d7655 Make dev.sh more flexible 2023-07-22 16:29:34 +02:00
37b18a0536 Stop watching dev.sh
Direnv doesn't properly load the changes.
2023-07-22 16:28:55 +02:00
5a43a97628 Reload the environment when dev.sh changes 2023-07-22 15:59:00 +02:00
8bf4ee6bbe Randomize the ports
This should help with port colitions when running multiple projects at once.
2023-07-22 15:58:26 +02:00
86e0ae7c5b Revert DB tests 2023-07-20 21:59:46 +02:00
7930eef582 Start the DB for tests 2023-07-20 21:25:05 +02:00
64bbd528ae Revert "Revert "Try to use the db in tests""
This reverts commit 757e1da5cb.
2023-07-20 21:06:54 +02:00
1a4c75c7aa Remove unused docker settings 2023-07-18 21:44:35 +02:00
4217774c13 Connect through socket to DB 2023-07-18 21:43:42 +02:00
Andreas Zweili
3734f26947
Merge pull request #148 from Nebucatnetzer/overmind
Overmind
2023-07-18 21:00:38 +02:00
df8e5914bc Rebuild the datbase if its config files gets removed 2023-07-18 20:59:09 +02:00
e36dd53c6b Add a sleep of 2 seconds
The database needs some time to shut down
2023-07-18 20:58:49 +02:00
986434de8d Load the inventory fixtures 2023-07-18 20:58:39 +02:00
ceda8d419b Remove one object per line
Makes it easier to change
2023-07-18 20:47:24 +02:00
04e1831d02 Replace cleanall with git clean -xdf 2023-07-18 20:44:01 +02:00
a623062fb5 Remove the database when cleaning 2023-07-18 20:41:12 +02:00
42965ba283 Rename second_run to first_run 2023-07-18 20:40:58 +02:00
120b86fa9a Reformat 2023-07-18 20:22:32 +02:00
9153239c79 Extend README 2023-07-18 20:21:55 +02:00
757e1da5cb Revert "Try to use the db in tests"
This reverts commit 10c221ec8b.
2023-07-14 18:49:37 +02:00
10c221ec8b Try to use the db in tests 2023-07-14 18:17:21 +02:00
Andreas Zweili
3860b94c0b Create a django database 2023-07-14 14:34:56 +02:00
Andreas Zweili
05c61e275a Use the DB with the local username 2023-07-14 14:27:32 +02:00
Andreas Zweili
2e781b2cd1 Remove the password for local settings 2023-07-14 14:24:22 +02:00
Andreas Zweili
1551150ede Move the overmind quit command ouf of the if clause 2023-07-14 14:20:08 +02:00
Andreas Zweili
64ddd7ef66 Use the current user for DB access 2023-07-14 14:15:11 +02:00
Andreas Zweili
cec752b998 Listen on localhost with postgresql 2023-07-14 14:15:01 +02:00
0b61c4a23f Clean up the clean tasks 2023-07-13 23:48:59 +02:00
311f2313e4 Rewrite setup to use overmind 2023-07-13 23:48:43 +02:00
f82c2bcc23 Make test runs work from any directory 2023-07-13 23:02:56 +02:00
dd6603992d Start the services with overmind 2023-07-13 22:25:50 +02:00
3b04e8337e Remove the .direnv directory when cleaning 2023-07-13 22:22:23 +02:00
4863b71bce Build the .venv into a hidden folder 2023-07-13 22:22:03 +02:00
07a8d8cb33 Remove docker-compose-development.yml 2023-07-13 22:08:53 +02:00
8af2b25042 Run tests in a RAM DB 2023-07-13 22:07:32 +02:00
73df8d406a Add a Procfile 2023-07-13 22:07:23 +02:00
9ba7625c50 Remove gnumake 2023-07-13 21:07:40 +02:00
1c30e6ddb0 Remove docker-compose for development 2023-07-12 23:17:26 +02:00
e4b064b830 Extend direnv to create postgres dir 2023-07-12 23:16:32 +02:00