abhishek-ram / pyas2

This repo is no longer maintained and has been moved to https://github.com/abhishek-ram/django-pyas2
GNU General Public License v2.0
47 stars 23 forks source link

Setting up pyAS2 on Ubuntu #45

Closed iversa closed 6 years ago

iversa commented 6 years ago

Since I can't get it to work on Windows I figure I try on Ubuntu. I'm a newby to Linux to bear with me.

I have everything setup up until I need to run the following

python manage.py migrate

I get

python: can't open file 'manage.py': [Errno 2] No such file or directory

Does not help either when I change the path to /usr/local/lib/python2.7/dist-packages/django or /usr/local/lib/python2.7/dist-packages/pyas2

keegandsouza commented 6 years ago

You aren't running the migrate command in the right directory. You need to run it in the same directory where your manage.py file is located. If you followed the installation guide in the docs then you need to navigate to the project dir. Run the below command in whichever directory to ran the installation instructions cd django_pyas2/