The easy way to watch videos with your friends.
Contributions are welcome. The current iteration is named "Flare", and you can see what's currently being worked on under the "projects" tab.
Setting up your dev environment
This project targets the lastest LTS version of node.js.
Fork this repo and clone it.
If you are planning to deploy this yourself, make sure you are on the
In a terminal, navigate to the
opentogethertubefolder and run
- Next you need to set up your configuration. Start by copying the example
config in the
envfolder to a new file called
cp env/example.env env/development.env
- Obtain a YouTube API key
API_KEY_GOES_HEREwith the youtube api key.
- Initialize your local database.
npx sequelize-cli db:migrate
To run the test suite, run
How to run
This project has 2 main components: the client and the server. You can run both of them simultaneously using the command
Linux / Mac
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
- Clone this repo.
- Install despendencies.
- Build Vue files so they can be served statically.
npm run build
- Run the server.
You can also specify the port the server will listen on by setting the
PORT environment variable.
PORT=8080 npm start