Skip to content

pyatl/big-peach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

876747a · Apr 13, 2021
Aug 19, 2020
Apr 13, 2021
Mar 19, 2021
Aug 6, 2020
Nov 11, 2020
Aug 6, 2020
Nov 11, 2020
Mar 10, 2021
Jul 18, 2020
Mar 19, 2020
Jul 25, 2020
Jan 30, 2020
Mar 10, 2021
Apr 22, 2020
Mar 16, 2020
Mar 16, 2020
Mar 10, 2021
Mar 14, 2021
Jul 25, 2020
Jul 18, 2020
Mar 14, 2021
Mar 16, 2020

Repository files navigation

Build Status

big-peach

Big Peach is the PyATL meetup management system

Setup for local development

Downloading the Code

  • Fork this repo.
  • Create a branch based of the develop branch. Do not branch off master.
  • Clone your fork repository locally.

Creating a Virtual Environment

OSX / Linux

Create a new virtual environment by running python3 -m venv .venv

Then run: source .venv/bin/activate

Windows

Run: c:\>python -m venv c:\path\to\myenv

Documentation: https://docs.python.org/3/library/venv.html#creating-virtual-environments

Running the App

  • Install the requirements by running: pip install -r requirements.txt
  • On your terminal go to the directory where you find the file manage.py.
  • There is a file named .env.example. Rename it to .env (remove the .example part).
  • Run: python3 manage.py migrate. This will create your local SQlite database.
  • Run: python3 manage.py runserver to run the app.
  • The app should be live at http://127.0.0.1:8000/

Before you add a new feature

Please open an issue or explain the issue in our discord server (https://discord.gg/5UBnR3P) The last thing we want is to waste your time :)

Running the tests

The unit tests use Django's test runner. The linter is flake8.

  • pip install -r test-requirements.txt
  • flake8
  • python3 ./manage.py test

Happy coding!

Front end development

Enabling django-patterm-library

On your .env file add (if not already existing):

ENABLE_PATTERN_LIBRARY=on

The django-pattern-library is found at http://127.0.0.1:8000/pattern-library/

Please make sure to work on the front end on the pattern library first and commit changes.

Workflow:

Design -> Mockup -> Component -> Test -> Copy to templates