Skip to content

cryptobiosis/svelte-tailwind-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Svelte.js + Tailwind CSS + Flask

Get started

yarn  # Install client
cd server; pip install -r requirements.txt  # Install server

Serve in development mode

  • Starts dev server on port 5000
  • Hot reloading (server & client)
yarn serve

Serve in production mode

yarn start [flask_run_options]

flask_run_options

--host flask host (default 127.0.0.1)

--port flask port (default 5000)

Deploy for production without node.js

Build the client app:

yarn build

The code can now be deployed on a server and run:

cd server && flask run --host 0.0.0.0

Credits

Based on

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published