gbozee / pypaystack

A django reusable app for integrating Paystack into your application
MIT License
51 stars 39 forks source link

paystack not working on digital ocean #13

Open GoodnessEzeokafor opened 4 years ago

GoodnessEzeokafor commented 4 years ago

i'm getting ModuleNotFoundError at / No module named 'paystack.urls'

gbozee commented 4 years ago

Could you paste the content of your requirements.txt?

GoodnessEzeokafor commented 4 years ago

asgiref==3.2.3 boto3==1.11.13 botocore==1.14.13 cffi==1.13.2 colorama==0.4.3 dj-database-url==0.5.0 Django==3.0.3 django-s3direct==1.1.5 django-storages==1.9.1 docutils==0.15.2 gunicorn==20.0.4 jmespath==0.9.4 llvmlite==0.31.0 matchering==2.0.0 numba==0.48.0 numpy==1.18.1 pandas==1.0.0 patsy==0.5.1 Pillow==7.0.0 psycopg2-binary==2.8.4 pycparser==2.19 python-dateutil==2.8.1 pytz==2019.3 resampy==0.2.2 s3transfer==0.3.3 scipy==1.4.1 six==1.14.0 SoundFile==0.10.3.post1 sqlparse==0.3.0 statsmodels==0.11.0 urllib3==1.25.8 whitenoise==5.0.1

-e git+https://github.com/gbozee/django-paystack.git@master#egg=paystack

GoodnessEzeokafor commented 4 years ago

it works locally but not on Digital Ocean

GoodnessEzeokafor commented 4 years ago

i noticed when i run python manage.py runserver on digital ocean it works fine but through nginx it dosent

GoodnessEzeokafor commented 4 years ago

when i do this

gbozee commented 4 years ago

okay for now, you would need to install the zip version instead of the git url.

Try this instead https://github.com/gbozee/pypaystack/archive/master.zip

In your requirements.txt change the linkt to the above

https://github.com/gbozee/pypaystack/archive/master.zip

pip can also install zip files in addition to git repositories.

GoodnessEzeokafor commented 4 years ago

aiit hopes this work

GoodnessEzeokafor commented 4 years ago

paystack creates a folder in my project am i mean't to gitginore that ???

GoodnessEzeokafor commented 4 years ago

didn't work please how do i uninstall this

gbozee commented 4 years ago

pip uninstall paystack.