Skip to content

Installation Server On MacOS

Yongsung Heo edited this page Apr 6, 2019 · 2 revisions

Installation Server on MacOS

Prerequisites

Python

Python is required for use flask template engine.

If you don't have any running versions of Python, you can install from Homebrew package manager.

$ brew install python3

MySQL

MySQL is required as storage.

If you don't have any running versions of MySQL, you can install from MySQL_Site.

Virtual environment

For run flask, virtual environment is required. This can be created with bellow command.

$ python3 -m venv venv

Next, install the required modules.

$ pip install -r requirements.txt

Configuration

Server requires some environment variables, so dotenv configuration file is required.

$ pip install python-dotenv

Clone this wiki locally