Skip to content

Commit

Permalink
first init
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeaux committed Apr 17, 2018
0 parents commit 7d7b411
Show file tree
Hide file tree
Showing 318 changed files with 46,858 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .env.settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
LIVESTREAM_APP=false
FILE_HOST=false
FRONTEND=true

# set where the files themselves will be served from (/uploads is for serving from local machine)
UPLOAD_SERVER='/uploads'

# sets the thumbnail server that will be posted to during editing of thumbnails for uploads and user ( to separate file hosting from the frontend)
# if this is an empty string it will use the local route (aka api/upload/${upload.uniqueTag}/edit )
THUMBNAIL_SERVER=

# sets the frontend server for a user to be redirected to after they have edited a thumbnail
# if this is an empty string it will use the local route
FRONTEND_SERVER=''

# upload files to B2 hosting
UPLOAD_TO_B2=false

# optional way to store files on external drive
LOCAL_BACKUP='/Volumes/8TB/uploads'

# custom fraud detection module
CUSTOM_FRAUD_DETECTION=false

# meta tags
META_DESCRIPTION='PewTube - The world's most creator friendly media hosting'
META_IMAGE='https://pew.tube/full_size_logo.jpg'

## TECHNICAL ITEMS ##

NODE_ENV='development'

MONGODB_URI='mongodb://localhost:27017/april15pewtube'
MONGOLAB_URI='mongodb://localhost:27017/april15pewtube'
MONGO_URI='mongodb://localhost:27017/april15pewtube'

# set web_concurrency for cluster API (livestream server should only equal 1, otherwise websockets don't work)
WEB_CONCURRENCY=1



# incomplete #
CURRENT_UPLOAD_SERVER='uploads3'
52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# API keys and secrets
.env.private

uploadedRecordings
recordings
upload
thing
ytdl/videos/
hls

lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*.swp

pids
logs
results
tmp

#Build
public/css/main.css

# Dependency directory
node_modules
bower_components

# Editors
.idea
*.iml

# OS metadata
.DS_Store
Thumbs.db

uploads
testing/transcode

database

middleware/custom
lib/custom

scripts/local
scripts/custom

testing-manual
Loading

0 comments on commit 7d7b411

Please sign in to comment.