The New Way to Build! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Learn More

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • 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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(