Hello 1. What is the quickest way to build a alchemy scafold app with registration/login/logout functions?
I found pyramid_fullauth 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 cookiecutter https://github.com/Pylons/pyramid-cookiecutter-alchemy #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? Could somebody guide me what to do from here? Thank you Lucas -- http://lucasmanual.com/ <http://lucasmanual.com/blog/> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAKkTUv23AG3AW3JBov6PF2sKo2HU%3D1EFzVXDWLU_FXzj%2BbcMXw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
