https://github.com/noracodes/codepage
A Python webapp for community curated code challenges
https://github.com/noracodes/codepage
Last synced: about 1 year ago
JSON representation
A Python webapp for community curated code challenges
- Host: GitHub
- URL: https://github.com/noracodes/codepage
- Owner: NoraCodes
- License: agpl-3.0
- Created: 2019-09-26T19:02:16.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-26T22:52:40.000Z (almost 7 years ago)
- Last Synced: 2025-03-29T23:45:41.984Z (over 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# CodePage
CodePage is a code-sharing website curated by the community and built with open source
technologies.
## Architecture
CodePage is built with Flask and uses PostgreSQL as its database backend. In this repository,
there is a `docker-compose.yml` file specifying two containers, `database` and `webserver`.
If you want to install Postgres and Python on your local machine that is fine too. Just
change the relevant configuration in the `webserver` directory to point to your Postgres
instance and install the same packages that are installed by the `webserver` Dockerfile.
## Setup
Build the Docker containers with `docker-compose build`
Create the database schema `docker-compose exec webserver python src/makedb.py`