Based on this blogpost.
Install with Homebrew:
$ brew install postgresql
Run server:
#pragma once | |
/* check for emscripten */ | |
#if defined(__EMSCRIPTEN__) | |
#define HORUS_PLATFORM_EMSCRIPTEN | |
#error "[ platform ]: emscripten platform is not supported!" | |
/* check for windows platform */ | |
#elif defined(_WIN32) |
/* | |
* Copyright 2020-2021 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* https://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
Based on this blogpost.
Install with Homebrew:
$ brew install postgresql
Run server: