Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
daveplsno 482a2612f0
Merge pull request #3 from daveplsno/devel
pirms 2 mēnešiem
grafana updates pirms 2 mēnešiem
pinger_backend updates pirms 2 mēnešiem
pinger_client updates pirms 3 mēnešiem
pinger_frontend updates pirms 2 mēnešiem
.gitignore updates pirms 2 mēnešiem
LICENSE Create LICENSE pirms 3 mēnešiem readme chgs pirms 3 mēnešiem


it pings, it records, it doens’t do anything else, eventually it might also graph.

thinken basic steps to get dev env setup is (to be tested lmao):

1) clone repo 2) create .env file in pinger_server (example provided) 3) create .env file in pinger_server/data/pinger_server (example provided) 5) navigate back to project root and compose up 3) enter container

docker exec -it pinger_server bash

5) migrate db

python migrate

5) create superuser

python createsuperuser

6) log into admin page, generate token for admin 7) create .env file in pinger_client (example provided) 8) probably good idea to take ownership of all the newly created files by root user (thx docker). from the project root run

sudo chown -R $USER:$USER .

unfortunately the api url for targets and db posts is currently hardcoded in the pinger_client container, so yeah not much can be done here until i change it, i’ll eventually pass this as a container env the same as the token so ppl can use their own local server. much work to be done.