Git Product home page Git Product logo

djact's Introduction

djact's People

Contributors

c-v-ya avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

djact's Issues

Can't deploy django server

I'd read your post with relation to django,react,jwt. It's great and very useful for me.
I tried to deploy on localhost, but failed, even though after downloading this git project.
In condition of development, in other words, when I am using localhost:8000 as backend, localhost:3000 as frontend,
it does work well. But building is failed.

I followed your blog and make my project just like to your project's structure.
After entered localhost:8000, there was empty in my screen and some errors below in console.

1)Refused to execute script from 'http://localhost:8000/static/bundle.c3b68b6c3ff630372eb4.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
2)Refused to execute script from 'http://localhost:8000/static/vendor.6af475534d9e3f239f45.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

-I tried to execute scripts in package.json using yarn build or npm build, so the structure of mine is just like to your blog.
-I can't see login page in localhost:8000 after python manage.py runserver

I can't find out any clue to this. If I missed something, Could you let me know this reason?
Thanks a lot.

pathlib doesn't go to the good path

I have this error: django.core.exceptions.ImproperlyConfigured: Set the DJANGO_SECRET_KEY environment variable
My .env file is next to .env.exemple.
Do you think we have to switch to os lib?

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.