The easy way to watch videos with your friends.
This project targets node 12.
git clone https://github.com/dyc3/opentogethertube.git
sudo apt install redis
cp env/example.env env/production.env
Please read the config docs here for which options are required.
npm run build
NODE_ENV=production-sqlite npx sequelize-cli db:migrate
NODE_ENV=production npm start
You can also specify the port the server will listen on by setting the
PORT environment variable.
PORT=8080 NODE_ENV=production npm start
See the Docker README
Contributions are welcome. The current iteration is named "Firework", and you can see what's currently being worked on under the "projects" tab.
This project targets the lastest LTS version of node.js.
opentogethertubefolder and run
envfolder to a new file called
cp env/example.env env/development.env
API_KEY_GOES_HEREwith the appropriate api key.
npx sequelize-cli db:migrate
To run the test suite, run
This project has 2 main components: the client and the server. You can run both of them simultaneously using the command
npm run dev
npm run dev-windows
Sometimes, you may want to run them seperately so you can use breakpoints to debug. Using VSCode, this is trivial.
To start the server:
Debug > Select "Launch Program" > Start
To start the client:
npm run serve