{"repo":"atilatech/atila-core-service","free":true,"listed":false,"github":"https://github.com/atilatech/atila-core-service","clone":"git clone https://github.com/atilatech/atila-core-service.git","description":"The primary backend service for Atila apps.","language":"Jupyter Notebook","stars":40,"topics":["django","postgres","postgresql","python"],"license":"GPL-3.0","category":"databases-storage","readme_excerpt":"Atila Core Service The primary backend service for Atila apps. Atlas To see how Atlas works, see: Atlas: Find Anything on Youtube, atlas app inside this repo, Atlas Notebooks and atlas-ui. Quickstart source install.sh ; source start.sh or: pip install -r requirements.txt python manage.py runserver Verify it works by navigating to http://127.0.0.1:8000/api/atila/users/ or running the following command: Services Atila Core Service contains the following services: 1. Atlas: Find Anything on Youtube Authentication Verify that token authentication works. By pasting the following command and copy-pasting access into jwt.io. Don't do this for production JWT tokens. Try it on a protected view Setup your Database Follow this tutorial (tutorial on Github) to install Postgres and add to a Django project. See this tutorial to add some pieces missing in the previously mentioned tutorial such as: GRANT ALL PRIVILEGES 1. Mac: Install Postgres.app. 1. psql Run the following commands inside the sql terminal 1. CREATE USER admin WITH PASSWORD 'admin'; 2. CREATE DATABASE atila OWNER admin; 3. GRANT ALL PRIVILEGES ON DATABASE atila TO admin; 4. Create a DJANGO SECRET KEY : python3 -c 'from django.core.management.utils import get random secret key; print(get random secret key())' 4. Update settings.py (this should already be done but including for completeness) Confirm the commands work by seeing the first word in the command in your response. 4. pip install psycopg2 . Verify it works with: pytho","default_branch":null,"files":null,"tree":[],"storefront":"/r/atilatech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/atilatech/atila-core-service/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}