Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 738 Bytes

env-variables.md

File metadata and controls

36 lines (23 loc) · 738 Bytes

ENV Variables

You can easily set your database and access key via environment variables that placed on .env file.

{% code title="my_app/.env" %}

type="" # free or pro or premium or startup
client_id="" #Any uniq name for client like bob

database_key="DB_database_***"
access_key="ACK_***"


locking=False

cache=False # If its set as True the system will be a backup and low bandwith req.
cache_counter=100 # Wait for 100 call for checking new version and gathering


version=True
client_version=True

key_encyption=True

{% endcode %}

After these settings you can use just interfaces via;

{% code title="my_app/main.py" %}

from upsonic import Upconic_Cloud_Free
cloud = Upconic_Cloud_Free()

{% endcode %}