Commit graph

172 commits

Author SHA1 Message Date
Dana Lambert
1cb7403f6f Update dev commands with docs 2021-10-15 15:20:14 +13:00
Dana Lambert
299e609c25 Add django command to populate the database with spreadsheet plant data 2021-10-15 14:40:14 +13:00
Dana Lambert
aa57c6e101 Add django command to populate the database with shapefile data 2021-10-15 14:39:03 +13:00
Dana Lambert
b02d7d50de Register models with django admin 2021-10-15 14:38:14 +13:00
Dana Lambert
d47416273d Add django fixtures for base data 2021-10-15 14:34:48 +13:00
Dana Lambert
e068ed047b Add relational models for plants and related fields (excludes habitat and zone) 2021-10-15 14:33:13 +13:00
Dana Lambert
6dfa65ee77 Add django gis extension 2021-10-15 14:31:52 +13:00
Dana Lambert
68b1d80ffa Modify stepper to be linear 2021-10-13 07:34:38 +13:00
Dana Lambert
0104af35f7 Add sample mui stepper 2021-10-07 15:39:12 +13:00
Dana Lambert
80d5b181d9 Add basic plant repository and demo page with plant list 2021-10-07 10:22:44 +13:00
Dana Lambert
9b17536102 Add axios library to frontend with base repository 2021-10-07 10:22:07 +13:00
Dana Lambert
b699e50754 Add django cors headers to backend 2021-10-07 10:17:32 +13:00
Dana Lambert
9faf762224 Create default django admin user on start up 2021-10-07 09:00:27 +13:00
Dana Lambert
bb307d34d2 Add django rest framework and basic plant model
- Adds django rest framework to requirements
- Adds basic plant model with id and name fields
- Adds CRUD endpoints to interact with plant objects
2021-10-07 08:59:57 +13:00
Dana Lambert
aedd224a63 Setup frontend styling
- Add node-sass, bootstrap and reactstrap
- Setup styles directory with themes file and base styles
- Replace create-react-app content with sample content to test styles
2021-10-06 16:18:01 +13:00
Dana Lambert
d98d395bdf Add development environment documentation to README 2021-10-06 14:53:51 +13:00
Dana Lambert
9fc83f5974 Connect database to Django backend 2021-10-06 14:37:29 +13:00
Dana Lambert
a66b8820df Add database initialisation scripts 2021-10-06 14:37:14 +13:00
Dana Lambert
0ea165fcff Add docker-compose file to run applications and postgres locally 2021-10-06 14:06:55 +13:00
Dana Lambert
fb3ad16b62 Add base React frontend project (create-react-app) 2021-10-06 12:36:39 +13:00
Dana Lambert
88f3331c46 Add base Django backend project 2021-10-06 12:36:07 +13:00
Dana Lambert
82a8d407e4 Initial commit 2021-10-06 12:28:07 +13:00