Skip to content

Earthly-Staging/circle_ci_python_example

 
 

Repository files navigation

Django CircleCi Example

The Project

The idea behind this project is an app to help keep track of physical media, but really it is just an example project to have something to test and build in CircleCi.

Local Setup for the Application

Dependencies

  • Python
  • Postgresql
  • pip

Setup

  1. Create a virtual env and activate it.
python -m venv venv
source venv/bin/activate
  1. Install the Dependencies.

pip install -r requirements.txt

  1. Create a database and a database user.
createdb my_media
psql my_media
my_media=> CREATE ROLE example WITH LOGIN CREATEDB PASSWORD '1234';
  1. Run the migrations.

python manage.py migrate

The Tests

There are a few unit tests that can be run with:

python mangae.py test

Run Pylint

pylint my_media/ media_organizer/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.9%
  • Earthly 5.7%
  • HTML 1.5%
  • Dockerfile 0.9%