Cobresun / movie-club

🍿 Movie Club Website!
https://cobresun-movie-club.netlify.app
0 stars 1 forks source link
movies tmdb vue

movie-club

Netlify Status

Project setup

npm install
npm i netlify-cli -g

When developing if you don't see the Login button on the screen, go into your browser console and execute the following command:

localStorage.setItem("netlifySiteURL", "https://cobresun-movie-club.netlify.app")

... then refresh the page.

Also when developing use the cobresunofficial@gmail.com account.

Compiles and hot-reloads for development (including Netlify functions)

netlify init (authorize with Cobresun Netlify account)
netlify dev

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Testing

Runs tests a single time

npm test

Runs tests and hot-reruns tests

npm run test:watch

Runs tests and generates a coverage report

npm run coverage

Database Migrations

To manage database migrations, the following NPM scripts are used:

Migration scripts should be placed in the migrations/schema directory and named following this convention: <dateISO>_<yourchanges>, e.g., 20240201_AddClubTable.

Running Migrations

For development migrations, ensure you have the .env file set up with the necessary environment variables. The .env file details can be found in the Cobresun Notion.