Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Django Install guide


On this page: https://preview.keenthemes.com/django/metronic/docs/getting-started there is a gap between 'Install Django' and 'Build Assets.' More specifically:

1. The guide says that:
"Assets compile require the build tools. These libraries are required as below:
Node.js 16.15.0+
Yarn 1.12.18+"

2. Where within our django installation do we install the 'starterkit/_keenthemes/tools' directory and files?

In my case I install in /opt/venv/mysiteapp after activating my server with 'source /opt/venv/mysite/bin/activate.' To help me keep things straight, my file directory looks like this:

/opt
----/venv
--------/mysite
------------/bin
------------/include
------------/lib
------------/lib64
--------/mysiteapp
------------db.sqlite3
------------manage.py
------------/mysiteapp
----------------/__pycache__
----------------__init__.py
----------------asgi.py
----------------settings.py
----------------urls.py
----------------wsgi.py

Thank you! Really excited to get going!


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

You can run your Django project as usual under the starterkit root folder. There's no need to install the 'starterkit/_keenthemes/tools' directory and files within your Django installation.

On this path, you need to install Node.js and Yarn, which will allow you to generate the assets (JavaScript and CSS files) for your Django project. Once Node.js and Yarn are installed, you can use them to compile the assets and then use these compiled assets within your Django project as needed.

Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(