andymckay / actions-insights

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements

  • python3

Setup

  1. Contact @andymckay for the .env file and access to the App.

  2. Go to https://github.com/organizations/bbq-beets/settings/apps/actions-insights-beta/installations. Install the app and grant it access to one or more repos.

  3. Install dependencies and start the server:

pip3 install -r requirements.txt
cd insights
source .env
python3 manage.py migrate
python3 manage.py runserver
  1. Go to http://127.0.0.1:8000

Database management

Inspecting the database

  1. Create an admin user:
cd insights
source .env
python3 manage.py createsuperuser --username admin --email admin@admin.com
  1. Go to http://127.0.0.1:8000/admin/ and sign in with admin credentials

Deleting the local dev database

Run rm db.sqlite3 and complete setup again

About


Languages

Language:CSS 78.1%Language:Python 15.6%Language:HTML 5.9%Language:JavaScript 0.4%