This contains everything you need to run your app locally.
This project uses Material UI for its base styling along with Tailwind utility classes.
Prerequisites: Node.js
- Install dependencies:
npm install
- Copy
.env.example
to.env.local
and set your secrets likeGEMINI_API_KEY
,SUPABASE_URL
,SUPABASE_SERVICE_ROLE_KEY
andOPENWEATHER_API_KEY
. - Run the app:
npm run dev
Run the SQL script in supabase/diary_entries.sql
on your Supabase project to
create the diary_entries
table used by the Netlify functions. This script also
enables the uuid-ossp
extension required for uuid_generate_v4()
.
Run the SQL script in supabase/grows.sql
to create the grows
table and add
substrate
and grow_id
columns to cultivos
.
Use the /grows
page to manage your grow rooms and add new ones as needed.
Make sure your Netlify environment has the variables SUPABASE_URL
and
SUPABASE_SERVICE_ROLE_KEY
configured with your project's details so the
functions can connect to Supabase.
Para uma descrição completa da interface em português, consulte docs/INTERFACE_COMPLETA_PT_BR.md. Para detalhes sobre a gestão aprimorada de espaços e plantios, veja docs/GESTAO_ESPACOS_PLANTIOS_PT_BR.md.