Skip to content

Mavulp/hivecom.net

Repository files navigation

deploy build-types

hivecom.net

Main website for the Hivecom community.

This is a Nuxt project. As such, look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

npm install

To run the Supabase instance locally, you will need to make sure you have Docker installed.

From there, link your project via the following command:

npm run supabase:link

Ask your project admin for the necessary database credentials if you should have access to the Supabase instance.

From there, it is recommended to configure your Supabase configuration. Add SUPABASE_URL and SUPABASE_KEY to your .env in the root of the project:

SUPABASE_URL="https://example.supabase.co"
SUPABASE_KEY="<your_key>"

Development Server

Start the development server on http://localhost:3000:

npm run dev

To additionally have access to a local Supabase instance, you can run the following to start/stop that instance.

npm run supabase:[start/stop]

Once you have the Supabase instance running, you can access the admin panel at http://localhost:54323.

Production

Build the application for production:

# npm
npm run build

Locally preview production build:

# npm
npm run preview

Check out the deployment documentation for more information.