but I'm having problems getting the tables to load into database... If there is a faster way to get it up and running please let me know or if you guys could help me with below:
2. Help on pyramid_fullauth
A) to get pyramid_fullauth to work you need to import tables from that module. I know alemic can help me with that but I'm not sure what to do next here:
virtualenv -p python3 env_py3_test
source env_py3_test/bin/activate
pip install pyramid
pip install cookiecutter
#create project "myapp"
cd myapp
pip install -e ".[testing]" #(I don't know why this step installs everything properly vs python setup.py deploy which does not and causes missing packages...but that's a different issue..but probably a show stopper for newbies FYI)
python setup.py develop
initialize_myapp_db development.ini
#Now I got my app, and database.
pip install pyramid_fullauth
vi myapp/__init__.py
#Add Right before config.scan():
config.include('pyramid_basemodel')
config.include('pyramid_fullauth')
#Fast test:
pserve development.ini --reload
http://localhost:6543/register
#boom it works, I have a registration page but signup button complains about missing tables.
#How do I load the table now?
pip install alembic
alambic init
cd alambic
#vi env.py
#on line 18 add:
#Right before def run_migrations_offline
from myapp.models.meta import Base
target_metadata = Base.metadata
#Now I guess I suppose to import fullauth models...but how?
from pyramid_fullauth import models?
#
https://github.com/fizyk/pyramid_fullauth/issues/47 #not enough details for me?