jmromeroes / my-example-imagine-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my_example_imagine_project app

This app was bootstrapped with Imagine.ai đź’›

Imagine.ai is an app starter on steroids!

Run the app in terminal

Install packages and start the application server.

$ make install
$ make run

Run the app inside a Docker container

  1. Build the docker container and get it up and running.
$ docker-compose build
$ docker-compose up
  1. Setup database tables by running migrations.
$ docker-compose exec web python manage.py makemigrations
$ docker-compose exec web python manage.py migrate

Make API calls against the server

Go to http://localhost:8000/graphql

Run Django admin dashboard

  1. Setup a password to login to the Django admin dashboard.
make adminuser password=<choose-a-secure-password>
  1. Go to http://localhost:8000/admin and login to the dashboard using username admin and the password you chose in step 1 above.

Run tests and check code coverage

$ make test
$ make coverage

Lint your code

$ make lint

Learn More

  1. Learn more about:
  1. Imagine is in beta - here are the known issues that we are working to fix.

About


Languages

Language:Python 89.7%Language:Makefile 6.4%Language:Dockerfile 3.8%