rockallite / generator-django-webapp Goto Github PK
View Code? Open in Web Editor NEWYeoman generator that scaffolds out a Django web app with front-end support.
Yeoman generator that scaffolds out a Django web app with front-end support.
I am trying to run a project I generated. I am getting this message "Cannot GET /". Here is what I did.
yo django-webapp
cd etc/
grunt
grunt
returned this:
1 passing (104ms)
>> 1 passed! (0.10s)
Running "checkcollected" task
Fatal error: Collect assets and templates into the following directories first:
* static_collected
* templates_collected
Hints: You might need to run `../manage.py collectstatic` to collect static assets, and some custom Fabric tasks to collect templates.
If you want to try out the `build` task, run `grunt copy:simcollected` to simulate the collection process, then try again.
Execution Time (2014-05-27 14:02:50 UTC)
jshint:all 147ms ▇▇▇▇▇ 4%
concurrent:test 1.9s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 52%
autoprefixer:dist 53ms ▇▇ 1%
mocha:all 1.5s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 41%
Total 3.7s
I then tried
../manage.py collectstatic
grunt copy:simcollected
grunt
grunt serve
I did not see any errors in the terminal, firefox opened up, but the message in the browser was "Cannot GET /"
When I follow the instructions on the main readme.md file, I am seeing the following:
root@ubuntu:~/test/yo/greatDebate# django-admin startproject project
root@ubuntu:~/test/yo/greatDebate# cd project/
root@ubuntu:~/test/yo/greatDebate/project# ls
manage.py project
root@ubuntu:~/test/yo/greatDebate/project# yo django-webapp
Error: Django project not found, or project name is wrong.
You must run me in the base directory of the project
(e.g. the one contains `manage.py` file).
root@ubuntu:~/test/yo/greatDebate/project#
Am I doing anything wrong?
ps.. your generator seems awesome.. I wish I could play with it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.