Closed ghost closed 6 years ago
Sorry, that documentation has gotten out of date. :/
Please use the pinax-cli
as described here: http://pinaxproject.com/pinax/pinax_starter_projects/
There is currently some in progress work on that branch and the pinax command line will let you get last working version.
Thanks I followed the instructions in that page for project project social-auth I got the same errors.
[15/Sep/2017 08:15:55] "GET /site_media/static/js/site.js HTTP/1.1" 404 1665 [15/Sep/2017 08:15:55] "GET /site_media/static/pinax/js/theme.js HTTP/1.1" 304 0 [15/Sep/2017 08:15:55] "GET /site_media/static/css/app.css HTTP/1.1" 404 1668 [15/Sep/2017 08:15:55] "GET /site_media/static/js/site.js HTTP/1.1" 404 1665
Me too, @jucajuca but for the 'account' project. :(
[29/Dec/2017 18:07:54] "GET /site_media/static/css/app.css HTTP/1.1" 404 1668
[29/Dec/2017 18:07:54] "GET /site_media/static/js/site.js HTTP/1.1" 404 1665
im getting the same error too
please can anyone help me
@milven-domingos This is something that needs to be fixed. In the meantime, I know that someone who had a similar problem located those files in a different folder (/static/dist in his case) and moved them to /site_media/static and that fixed the problem.
@jucajuca @h-2-0 @milven-domingos you guys are getting 404s after running npm run dev
and opening http://localhost:3000/ in your browser?
It almost sounds like you are running with DEBUG = False
and haven't run collectstatic
I am also having the same issue. All configurations are looking for the app.css and the site.js I ran collectstatic;however, still no: /site_media/static/js/site.js /site_media/static/css/app.css
Please try the following commands in order:
npm install npm run build ./manage.py collect static
Then run server as usual
same error
what project or module these two file belong? I can not find it in pinax projects
@paltman The solution of @zahidaliyounis should be added to the documentation. (or to the install script.)
npm install npm run build ./manage.py collectstatic
There wa a typo, correct command is collectstatic (no space)
the solution is really:
pip install -r requirements.txt npm install ./manage.py migrate npm run dev
which is already in the README
On Jun 9, 2018, at 10:24 AM, jucajuca notifications@github.com wrote:
@paltman The solution of @zahidaliyounis should be added to the documentation. (or to the install script.)
npm install npm run build ./manage.py collectstatic
There wa a typo, correct command is collectstatic (no space)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
The instructions should be the README of the project started using any of the templates in this repo.
You can find a copy of these instructions here:
https://github.com/pinax/pinax-starter-projects/tree/account#getting-started
Is this not working for anyone?
You should not be running collectstatic
or moving static files around manually for local development.
I believe this issue can be closed bc/guidance now update to date in both README and main docs.
after installing pinax as described here I started the server and I got the following errors:
[13/Sep/2017 14:11:26] "GET /account/login/ HTTP/1.1" 200 4570 [13/Sep/2017 14:11:26] "GET /site_media/static/css/app.css HTTP/1.1" 404 1668 [13/Sep/2017 14:11:26] "GET /site_media/static/pinax/js/theme.js HTTP/1.1" 304 0 [13/Sep/2017 14:11:26] "GET /site_media/static/js/site.js HTTP/1.1" 404 1665