Git Product home page Git Product logo

coderdojochi's Introduction

Setup

First Time

  1. Install git and brew

  2. brew tap caskroom/cask

  3. brew cask install virtualbox

  4. brew install docker docker-machine docker-compose

  5. Fork https://github.com/coderdojochi/coderdojochi

  6. git clone http://github.com/USERNAME/coderdojochi

  7. cd coderdojochi

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

  9. docker-machine create --driver virtualbox coderdojochi (takes 1 minute)

  10. docker-machine start coderdojochi

  11. eval "$(docker-machine env coderdojochi)"

  12. docker-compose up (for the first time, depending on your PC, it'll take 5-10 minutes)

Following times

  1. docker-machine start coderdojochi

  2. eval "$(docker-machine env coderdojochi)"

  3. docker-compose up

  4. To get the URL for your local instance: docker-machine ip coderdojochi

Fetch latest code from CoderDojoChi repository

To grab the latest code from the upstream (main) repo, do the following:

git fetch upstream && git checkout develop && git merge upstream/develop

Misc commands

Rebuild docker container from scratch
docker kill $(docker ps -q); docker-compose rm -f; docker-compose build && docker-compose up
Run Django management commands
docker-compose run --rm app python manage.py <command>
Make migrations
docker-compose run --rm app python manage.py makemigrations
Run migrations
docker-compose run --rm app python manage.py migrate coderdojochi

Getting Started

Once the app is running (you'll see app_1 | Installed X object(s) from X fixture(s)), load up the browser and go to 192.168.99.100.

To log into the admin, click the menu item 'My Dojo'.

Admin

username: [email protected] password: admin

Guardian

username: [email protected] password: guardian

coderdojochi's People

Contributors

karbassi avatar bkellgren avatar pjsier avatar kand avatar kapil1garg avatar mvanderwood avatar ash6851 avatar arelia avatar iancmason avatar sneilan 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.