Giter Club home page Giter Club logo

Comments (4)

nickjj avatar nickjj commented on September 25, 2024

Hi,

For this specific error it sounds like some of the files got saved with Windows line endings. You'll want to make sure your code editor saves files with Unix line endings.

Also, if you're on Windows you'll likely want to use WSL 2 unless you plan to skip running any of the ./run script shortcuts.

from docker-django-example.

XxMasterepicxX0 avatar XxMasterepicxX0 commented on September 25, 2024

Thank you so much. I did " find . -type f -exec dos2unix {} ; " and it fixed it, I don't know that could be an issue.

This may not be the place to ask this. However, is there any way to move all the html, css, js to one folder. I see the assets file. However, I still need to make changes to home.html. I just like a separate frontend folder.

from docker-django-example.

nickjj avatar nickjj commented on September 25, 2024

The assets/ directory has all of the front-end CSS and JS files separated out but your Django templates would typically exist outside of that area. Everything is customizable though based on what's available with Django.

from docker-django-example.

nickjj avatar nickjj commented on September 25, 2024

I'm closing this as it's resolved.

from docker-django-example.

Related Issues (20)

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.