Project Clips is a simple video hosting platform that enables people to share and view clips.
Note: Make sure you have a valid .env that works with docker (See .env.docker.example)
git clone https://github.com/devhsoj/clips
cd clips/
docker-compose -f .\docker\docker-compose.yml up -d --build
Requirements: Go - npm - PostgreSQL
git clone https://github.com/devhsoj/clips
cd clips/
npm install
npm run build
Postgres Setup:
CREATE DATABASE clips;
\c clips;
CREATE EXTENSION pgcrypto; -- Used for generating UUIDs
Note: Make sure you have run the command npm run build
before-hand, and have a valid .env
npm start # or with pm2: pm2 start npm --name clips -- start
or
./build/clips # or ./build/clips.exe
# uses concurrently to start rollup & nodemon in watch mode for the web/app/ & internal/ directories
npm run dev