Git Product home page Git Product logo

coderdojochi's Introduction

PROJECT FROZEN

This is the current live version of coderdojochi.org but no new development will be done on it. Version 2 is being developed at CoderDojoChi/c2.

Custom-build Django application for CoderDojoChi

We, the community and staff, have been building a custom Django application to handle out many parts of our organization.

Initial Setup

  1. Fork and clone this repository locally.

  2. Download and install Docker for Mac or Windows*.

  3. Navigate into the project directory via terminal and run docker-compose build.

  4. Once complete, run docker-compose up -d.

  5. Load up your browser and go to localhost

  6. To view logs, you can run docker logs -f cdc-app

  7. When you are done, you can stop the project via docker-compose down

Note: Docker for Mac requires OSX Yosemite 10.10.3 or above. Docker for Windows requires Microsoft Windows 10 Professional or Enterprise 64-bit. For previous versions download Docker Toolbox.

Debugging Accounts

Admin

username: [email protected] password: admin

Guardian

username: [email protected] password: guardian

Continual work

After the initial project setup, you will only need to run docker-compose build and docker-compose up -d. You can speed the set up by running the command together like so docker-compose build && docker-compose up -d.

Useful Information

Set up main repository as upstream

To setup the main respository as upstream, you can add a new remote called upstream.

git remote add upstream https://github.com/coderdojochi/coderdojochi

Update local code from upsteam

To grab the latest code from the main repo (named upstream), run the following.

git fetch upstream --prune
git checkout develop
git merge upstream/develop develop

Creating a new branch

Create a new branch based off of upstream's develop branch.

git fetch upsteam --prune
git checkout -b feature/a-good-name upsteam/develop
git push -u origin feature/a-good-name

Pull Request

Pull requests are always welcome. Make sure your pull request does one task only. That is, if it's fixing a bug, the pull request fixes only that bug. If you're adding a feature, make sure the pull request adds that one feature, not multiple at once.

Follow the "Creating a new branch" step above. Be sure to always push to your origin remote, not upstream.

Running commands on the docker container

Run Django management commands

When running any Django commands, you'll need to run them within the Docker container.

docker exec -it cdc-app  --rm app python manage.py <command>

coderdojochi's People

Contributors

karbassi avatar bkellgren avatar pjsier avatar kand avatar kapil1garg avatar mvanderwood avatar ash6851 avatar arelia avatar iancmason avatar sneilan avatar davidkam avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.