2019-10-26 21:18:30 +04:00
2019-10-26 20:40:48 +04:00
2019-10-21 20:04:05 +04:00
2019-10-23 19:54:47 +04:00
2019-09-12 10:08:20 +04:00
2019-10-06 19:44:30 +04:00
2019-10-26 16:29:20 +04:00

Zimmerman

last-commit python contributions license

Konishi's backend written in Python 3+. Zimmerman is a free and open source REST API that aims to have the core features of Facebook groups with the added bonus of transparency, flexibility, and other FOSS goodness.

Official frontend repo can be found here.

Requirements

This version uses PostgreSQL although you can use SQLite if you wish to.

When creating a Postgres Database, make sure to name it 'konishidb' or whatever you like and change the config name for the database in zimmerman/main/config.py

PostgreSQL Installation

This can vary for many different distributions/operating systems. You can find many guides for that through your distribution's guide/community. (https://www.postgresql.org)

This may also work for their derivatives but make sure to double check as well, it isn't going to harm anybody.. except maybe your distro...

Resourceful Links for the commonly used distros ;)

Contributing

The Konishi project is a community project which includes Zimmerman. We are welcoming contributors who would like to make an impact in the project and eventually the social networking industry.

Current guidelines for contributing is currently work in progress but here are some the ways you can help.

Feel free to contact the lead developer X1Zeth2X for further or other inquiries.

  • Contributing to the source code.
  • Contributing to the documentation of the APIs.
  • Financial support/contribution.
  • Suggesting improvements, features.

Install and Setting up

NOTE: If you are going to run this app with gunicorn, gunicorn zimmerman:main will not work and raise Application not callable error. Instead use gunicorn manage:app to run it using the manage.py module.

Clone the repo

$ git clone https://github.com/konishi-project/zimmerman.git
$ cd zimmermanv2

Create the virtualenv and activate

$ virtualenv konishienv
$ source konishienv/bin/activate

Install dependencies

$ pip install -r requirements.txt

Setting up the database

After meeting the requirements and installing PostGreSQL, make sure you've set the configurations to match your local PSQL credentials. Afterwards initialize the database to work with the app using:

$ python manage.py db init
$ make migrate

Running the application

$ python manage.py run

or

$ make run

Deploying

When deploying to services like Heroku, remember that the filesystem is ephemeral. Run the db initialization and migrates locally, then commit those to the git repo. The release command in the procfile will do the rest.

S
Description
Mirror of github.com/RustyRaptor/zimmerman — 🧮 Konishi's backend written in Flask Python.
Readme AGPL-3.0
349 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 99.1%
Mako 0.5%
Makefile 0.3%