DevTube
This repository contains Vue.js
frontend and Express.js
backend for DevTube.
Why DevTube?
DevTube contains the best 350+
tech talks from different sources – @eduardsi's personal favorites, github lists, YouTube most liked. You can say that DevTube is YouTube uncluttered + some secret gems reuploaded from InfoQ, Vimeo, and private video archives. The talks are updated and contributed regularly thanks to the community.
How to run DevTube locally
Get datastore access
Ask the repo owners for Google Datastore credentials, then put them in ./datastore_key.json
.
Configure env variables
Create a file ./express/.env
with the following variables:
COOKIE_SECRET = DEVDEVDEVDEVDEVDEVDEVDEVDEVDEVDE
DEVTUBE_HOST = http://devtube.xxx:8080
YOUTUBE_API_KEY = <ask repo owners>
TWITTER_CONSUMER_KEY = <ask repo owners>
TWITTER_CONSUMER_SECRET = <ask repo owners>
GH_CLIENT_ID = <ask repo owners>
GH_CLIENT_SECRET = <ask repo owners>
GOOG_CLIENT_ID = <ask repo owners>
GOOG_CLIENT_SECRET = <ask repo owners>
Add new entries to /etc/hosts file
127.0.0.1 devtube.xxx
Run backend
# From ./express directory run:
npm install
npm run dev
Run frontend
# from ./vue directory run:
npm install
npm run dev
🚀 DevTube front-end is now running on devtube.xxx:8080