GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SharpBit/webserver: A personal python sanic website

BranchesTags
Open more actions menu

Latest commit

 

History

209 Commits
209 Commits

Folders and files

NameName
Last commit message
Last commit date
core
core
 
 
.dockerignore
.dockerignore
 
 
.env.example
.env.example
 
 
.flake8
.flake8
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
requirements.txt
requirements.txt
 
 
run.py
run.py
 
 

Repository files navigation

sharpbit.dev

A website made with Python and Sanic. It uses Bootstrap in the front-end.

Deployment

Running without Docker

  1. Populate the .env file with the necessary information as outlined in .env.example.
  2. Install the requirements by running pip install -r requirements.txt.
  3. Run the server with python run.py. The server should be up and running at localhost:PORT.

Deploy with Docker

  1. Populate the .env file with the necessary information as outlined in .env.example.
  2. Build and start the container in detached mode using docker-compose up -d.
  3. Optionally, check the docker container list using docker ps.

Update with changes

  1. Update the local repo with git pull.
  2. Restart the container with docker restart <container_id>.
  3. Optionally, check the logs with docker logs <container_id>.

Kill the server

  1. Run docker kill <container_id>.

About

A personal python sanic website

sharpbit.dev/

Topics

pythonsanicwebserverwebsite

Resources

Readme
Activity

Stars

3 stars

Watchers

0 watching

Forks

3 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.