Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Unknown command: statirator init #12

Open
vindarel opened this issue Dec 2, 2015 · 4 comments
Open

Unknown command: statirator init #12

vindarel opened this issue Dec 2, 2015 · 4 comments

Comments

@vindarel
Copy link

vindarel commented Dec 2, 2015

Hi,
First of all: congrats, this is an awesome and impressive project.

I installed statirator in a new venv (installing globally didn't work, it doesn't find html5writer), but "init" is an unknown command :/

So I looked at the django docs about custom commands (disclaimer:for the first time!) and I feel like statirator's project structure doesn't follow the doc. The doc states:

Django will register a manage.py command for each Python module in [the commands] directory

But =statirator/core/management/commands= is one module with 4 commands in it (init, serve, generate, copy_template). Is that right ? Just a thought :)

Another question then: why do we have test_settings.py in statirator but no settings.py ? Doesn't that prevent the app from finding the statirator.core and statirator.blog installed apps ?

Thanks

ps: I posted about statirator on reddit, but I'm sad it didn't get much attention :(

pps: it would be cool too if you completed your doc about a local install.

Hope you're still interested by your project…

and a final tought: if you write "frozen-django" somewhere I'm sure that will drive you more users (devs?), because frozen-flask is a quite popular app and I'm sure I'm not the only one who googled for a django equivalent.

@vindarel
Copy link
Author

vindarel commented Dec 7, 2015

ps: statirator appeared on Pycoders' Weekly of nov, 27th, yeah

@MeirKriheli
Copy link
Owner

@vindarel Thank you 😄

I use it mainly to generate my website and blog, but don't have too much time to work on it.

Can you provide the steps you did for the installation so we can try to debug the problem (and hopefully write better documentation) ?

@vindarel
Copy link
Author

vindarel commented Dec 8, 2015

Hi MeirKrihell, glad you're still around here :)

  1. I tried to install statirator globally

sudo pip install statirator [sudo] password for vince: Collecting statirator Using cached statirator-0.2.0.tar.gz Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from statirator) Requirement already satisfied (use --upgrade to upgrade): docutils in /usr/local/lib/python2.7/dist-packages (from statirator) Requirement already satisfied (use --upgrade to upgrade): Pygments in /usr/local/lib/python2.7/dist-packages (from statirator) Collecting html5writer (from statirator) Could not find a version that satisfies the requirement html5writer (from statirator) (from versions: ) No matching distribution found for html5writer (from statirator)

  1. and in a venv

it installs statirator 0.2 correctly, but then:

$ statirator init 
Unknown command: 'init'
Type 'statirator help' for usage.

There's something I didn't try, it's to install it from source.

ps: pip version 7.1.2

@MeirKriheli
Copy link
Owner

Hmm, it didn't install for me in venv as well, failed on html5writer, guess I'll need to remove that, maybe use what's in docutils and leave it at that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants