Git Product home page Git Product logo

c2's Introduction

CoderDojoChi v2

Requirements

  • Docker

Installation

  1. Fork this repo.
  2. Run the following commands changing USERNAME to your GitHub username.
# Clone forked repo
git clone [email protected]:USERNAME/c2.git

# Go into project repository
cd c2

# Add upstream remote
git remote add upstream [email protected]:CoderDojoChi/c2.git

# Disable push for upstream
git remote set-url --push upstream DISABLE

# Build and run docker
docker-compose build
docker-compose up

Running the App

# Running with log output
docker-compose up

# Running daemon mode (in the background)
docker-compose up -d

# Attaching a log output to already-running process
docker-compose logs web
docker-compose logs db

Load the website via localhost:8000 and going to /admin/. The debug admin login info is:

Username: [email protected]
Password: coderdojochi


Management

For a full list of management options, start the app, then create a shell into the instance. the following commands:

# In one window
docker-compose up

# In another window
docker-compose run web bash
invoke --list

Migrations

# Create migrations
docker-compose run web python manage.py makemigrations

# Run Migrations
docker-compose run web python manage.py migrate

Testing

# Run all tests
docker-compose run web invoke django-test

# Run test for <app>
docker-compose run web invoke django-test <app>

# Example for 'account' app
docker-compose run web invoke django-test account

Deployment

c2's People

Contributors

karbassi avatar mvanderwood avatar

Watchers

James Cloos avatar Daniel Conrad 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.