Skip to content

ece-jacob-scott/flask_server_template

Repository files navigation

{{PROJECT_NAME}}

Welcome to the {{PROJECT_NAME}}!

Setup

Make sure you have the right version of python and all the dependencies required. Install the npm modules for using the tailwind post processor. Install flyctl which is the fly.io cli that is used to deploy the app. Setup your environment.sh file with new values using the sample file as the guide.

> python --version
Python 3.9.6
> pip install -r requirements.txt
> node --version
v18.9.1
> npm --version
9.6.4
> npm install -g localtunnel
> lt --version
2.0.2
> npm i
> curl -L https://fly.io/install.sh | sh
> cp environment.sh.sample environment.sh
> vim environment.sh
> source environment.sh

Run Development Server

The dev server is auto loading when a file is changed.

> make dev

Deploy the Server to Production

> make deploy

Add a secret to fly.io

> fly secrets set KEY=VALUE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published