Skip to content

liefwerk/webradio_alpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Alfonz

Development

Launch the development server

cd backend
. ./venv/bin/activate
export FLASK_APP=app
export FLASK_ENV=development

Initialize the database and seed it

flask init-db
flask seed-db

Start the dev server

flask run

Production

Run the prod server

source ./venv/bin/activate
waitress-serve --p 8145 --call 'app:create_app' > log.txt 2>&1 &

Kill the prod server

lsof -i tcp
kill <PID> ## Find the PID related to the background process

Run the prod react front

## If the server isn't start yet
pm2 serve build/ 3006 --name "alfonz-front" --spa

## If the server is already running
pm2 restart alfonz-front

About

Easily store and access your YouTube playlists.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published