Code Monkey home page Code Monkey logo

django-oscar's Introduction

Build Status Docker Stars Docker Pulls Docker Automated Docker Build Gitter chat

Django-Oscar template for developers

The goal of this project is to give possibility to setup Django-Oscar development environment as easy as it possible. More development tools for debugging and monitoring will follow.

Installation

Clone this project into your work directory:

$ git clone "https://github.com/trydirect/django-oscar.git"
$ cd django-oscar

Run stack with:

$ docker-compose up -d

Setup sandbox

In order to create django oscar database structure and load demo data execute following command:

docker exec --user=oscar -it oscar /sandbox.sh

Share project volume

Sync project source code on host machine and container

  1. Generate static files
docker exec --user=oscar -it oscar  bash -c 'cd sandbox && python3 manage.py collectstatic’
  1. Copy source code from container to host machine:
docker cp oscar:/app .
  1. Remove containers
docker-compose down 
  1. Add line from below to docker-compose.yml for oscar service:
volumes:
     - ./app:/app
  1. Add line from below to docker-compose.yml for nginx service:
volumes:
     - ./app/sandbox/public:/usr/share/nginx/html
  1. Recreate containers
docker-compose up -d 

Setup Sentry

COMPOSE_HTTP_TIMEOUT=300 docker-compose exec sentry bash -c "sentry upgrade"

Quick deployment to cloud

Amazon AWS, Digital Ocean, Hetzner and others

Contributing

  1. Fork it (https://github.com/trydirect/django-oscar/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Support Development

Donate

django-oscar's People

Contributors

annaopt avatar vsilent avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

django-oscar's Issues

Depfu Error: No dependency files found

Hello,

We've tried to activate or update your repository on Depfu and couldn't find any supported dependency files. If we were to guess, we would say that this is not actually a project Depfu supports and has probably been activated by error.

Monorepos

Please note that Depfu currently only searches for your dependency files in the root folder. We do support monorepos and non-root files, but don't auto-detect them. If that's the case with this repo, please send us a quick email with the folder you want Depfu to work on and we'll set it up right away!

How to deactivate the project

  • Go to the Settings page of either your own account or the organization you've used
  • Go to "Installed Integrations"
  • Click the "Configure" button on the Depfu integration
  • Remove this repo (trydirect/django-oscar) from the list of accessible repos.

Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.

If you think that this is a mistake

Please let us know by sending an email to [email protected].


This is an automated issue by Depfu. You're getting it because someone configured Depfu to automatically update dependencies on this project.

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.