Skip to content
/ Back Public
generated from aichner/Django-Template

The Django backend provides functionality to the service.

License

Notifications You must be signed in to change notification settings

api-link/Back

Repository files navigation

Api Link Logo

API Link - Connect your sources

API Link is a service built to make APIs more accessible and usable by taking away all your pain of setting up multiple APIs connectors. We handle all your required APIs and deliver one single beautiful stream of data.

Report bug · Request feature · Request change

Table of contents

Quick start

Choose setup for:

Setup with Docker

Dependencies

Installation

Run the following commands:

git clone https://github.com/api-link/Back.git api-link-django
cd api-link-django
docker-compose up --build -d
docker-compose up

The demo site will now be accessible at http://localhost:8000/.

Important: This docker-compose.yml is configured for local testing only, and is not intended for production use.

Debugging

To tail the logs from the Docker containers in realtime, run:

docker-compose logs -f

Setup with Python Virtual Environment

You can run this Django application without setting up Docker and simply use a virtual environment, which is the recommended installation approach for all Python projects itself.

Dependencies

  • Python 3.5, 3.6 or 3.7

Installation

With PIP installed, run:

git clone https://github.com/api-link/Back.git api-link-django
cd api-link-django
python --version
python -m pip --version

Confirm that this is showing a compatible version of Python 3.x. If not, and you have multiple versions of Python installed on your system, you may need to specify the appropriate version when creating the venv:

python3 -m venv /path/to/new/virtual/environment

Once a virtual environment has been created, it can be “activated” using a script in the virtual environment’s binary directory. The invocation of the script is platform-specific ( must be replaced by the path of the directory containing the virtual environment):

Platform Shell Command to activate virtual environment
Posix bash/zsh $ source /bin/activate
fish $ . /bin/activate.fish
csh/tcsh $ source /bin/activate.csh
Windows cmd.exe C:> \Scripts\activate.bat
PowerShell PS C:> \Scripts\Activate.ps1

Now we're ready to set up the project itself:

pip install -r requirements/base.txt

To set up your database and load initial data, run the following commands:

./manage.py migrate
./manage.py runserver

Bugs and feature requests

Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Contributing

GitHub last commit GitHub issues GitHub closed issues

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

All HTML and CSS should conform to the Code Guide, maintained by Mark Otto.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, this repository is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we adhere to those rules whenever possible.

Creators

Simon Prast

Christian Aichner

Florian Kleber

Thanks

We do not have any external contributors yet, but if you want your name to be here, feel free to contribute to our project.

Copyright and license

GitHub repository license

SPDX-License-Identifier: (EUPL-1.2) Copyright © 2019 Werbeagentur Christian Aichner

About

The Django backend provides functionality to the service.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published