Code Monkey home page Code Monkey logo

generator-django-webapp's People

Contributors

addyosmani avatar alefteris avatar alrra avatar asuh avatar callumlocke avatar eddiemonge avatar fluke avatar handtrix avatar hashchange avatar kevva avatar matheusazzi avatar mklabs avatar oaleynik avatar oxnard805 avatar passy avatar peol avatar radnor avatar raphaelvalerio avatar robwalch avatar rockallite avatar rzschoch avatar sebdeckers avatar sebv avatar sheenobu avatar silvenon avatar sindresorhus avatar sleeper avatar sylvaindesve avatar tschaub avatar zhuangya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-django-webapp's Issues

Django project not found

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

Cannot GET /

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 /"

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.