uncloud-mravi/uncloud_v3
Nico Schottelius ee3b20227e ++helm ideas 2022-02-15 09:39:25 +01:00
..
app Add index, allowed hosts 2022-01-30 14:47:01 +01:00
helm ++helm ideas 2022-02-15 09:39:25 +01:00
uauth v3: link product to resource 2022-01-02 19:34:55 +01:00
uncloud Add index, allowed hosts 2022-01-30 14:47:01 +01:00
.gitignore v3: link product to resource 2022-01-02 19:34:55 +01:00
Dockerfile Cleanup: get uncloud running again 2021-12-26 20:36:31 +01:00
Makefile v3: start app 2022-01-02 18:29:35 +01:00
README.md cleanup commit, introduction of onetimeprice 2022-01-30 10:11:22 +01:00
build.sh Cleanup: get uncloud running again 2021-12-26 20:36:31 +01:00
manage.py fresh start v3 2022-01-02 17:13:01 +01:00
requirements.txt uncloud: prepare update to Django 4 2021-12-11 10:06:59 +01:00

README.md

Kubernetes integration

Development / Minikube

To setup a development environment, start minikube on your local machine. Use kubectl get nodes to verify minikube is up and running.

Settings

Environment variables / Settings / Environment

  • SECRET_KEY
  • DEBUG
  • DATABASE

Versions

Future (unplanned)

  • When/where to add timeframe constraints
  • Timeframe slug-or-id
  • Maybe slug and backlink to avail products
  • Timeframe in product
  • Should a product define list of time frames AND resources?
    • Then can do autoselect on and only show complete ones
    • resources are also timeframe bound
      • name != unique (?)
    • how do we link?
      • stays towards resource
      • we only show resources which have price_per_time with one of our timeframes
      • And we filter out timeframes that don't have all resources
  • Can we filter drop down in admin?
  • yes: ModelAdmin.formfield_for_manytomany(db_field, request, **kwargs)¶
  • resources should have a slug
  • can be used as an identifier and non unique names

3.1 (validation release, planned)

  • Ensure that one resource cannot have multiple price_per_timeframe of the same timeframe

3.0.2 (planned)

  • Add basic validation to ordering

3.0.1 (planned)

  • Show products [done]
  • Link to ProductOrderForm [done]
  • Find suitable timeframes for a product [done]
  • Continue to resources / add resources
    • Need to list resources [done]
    • Need to create manytomany relations for each resource resoluting in ResourceOrders1
      • Need to pass in the price for the selected timeframe [done]
    • On submit
      • Create ProductOrder
      • Create ResourceOrder(s)

3.0.0 (2022-01-14)

  • Introduce ProductOrderView

Pre-Production requirements

  • Products need to ensure all resources are consistent for different timeframes
  • Products cannot have same resource linked twice in same timeframe