gwanryo / ohmycodes-proto

Super simple prototype of sharecode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ohmycodes

Super simple prototype of ohmycodes

Getting Started

Prerequisites

  • Python 3.9

Install

Docker

  1. Clone this repository
git clone https://github.com/gwanryo/ohmycodes.git
  1. Run make build, then make run
make build
make run
  1. Server will start at 0.0.0.0:5000

Manual

  1. Clone this repository
git clone https://github.com/gwanryo/ohmycodes.git
  1. (Optional) Create venv in repository folder
py -m venv .venv
  1. Install requirements
py -m pip install -r requirements.txt
  1. Init database, then migrate and upgrade
flask db init
flask db migrate
flask db upgrade
  1. Check there is 'ohmycodes.db' in repository folder

  2. Run server

flask run

About

Super simple prototype of sharecode


Languages

Language:HTML 58.2%Language:Python 36.4%Language:Dockerfile 2.7%Language:Makefile 2.1%Language:CSS 0.5%Language:JavaScript 0.0%