Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Installation #102

Open
tlubenov opened this issue Aug 1, 2014 · 11 comments
Open

Windows Installation #102

tlubenov opened this issue Aug 1, 2014 · 11 comments

Comments

@tlubenov
Copy link

tlubenov commented Aug 1, 2014

There are several libraries that cannot be installed under Windows env.
some of these are: cryptacular and m2crypto. Did you try to install it under windows 7?
Would you like to provide some instructions?

@jlap
Copy link
Contributor

jlap commented Aug 1, 2014

Cryptacular is used for workspace password storage. A quick search leads me to believe that m2crypto isn't used (Flask to Pyramid pyramid leftovers maybe?)

Pyramid itself is perfectly windows compatible, which is good.

I'll have to take a look in the requires.txt to see what libs are unavailable in Windows, where they are used and how to update them, as Windows compatibility is definitely something we want.

I won't have the time to do this within the scope of GSoC2014 though.

@tlubenov
Copy link
Author

tlubenov commented Aug 1, 2014

Thank you for fast response.
I'll try to install under win7. If everything works fine can share the installation procedure.
Is there way to pass cryptacular? It is available only at pypm at business level of account purchase.

@tlubenov
Copy link
Author

tlubenov commented Aug 1, 2014

Would you like please sent me a sqlite db filled with sample data?

@jlap
Copy link
Contributor

jlap commented Aug 1, 2014

I don't think you can bypass cryptacular unless you never password-protect a workspace, maybe, I didn't try. It'll have to be changed in the code.

I'm not sure how a db will help you though?

@tlubenov
Copy link
Author

tlubenov commented Aug 1, 2014

I install scribeui under win7 with virtualenv and python2.7.8.
cryptacular i find at http://pypm-free.activestate.com and place in virtualenv, the psycopg2 just copy and paste (not possible to pip install under virtualenv in windows 7). Rest of libs are trivial to install.
but when try to start with >paster serve local.ini and go to localhost:6543 it raise the error.

sqlalchemy.exc.OperationalError
OperationalError: (OperationalError) no such table: workspaces u'SELECT workspaces.name AS workspaces_name \nFROM workspaces ORDER BY workspaces.name' ()

so i think with some sample sqllite db may fix the things.

When i final the installation will share the procedure here.

@jlap
Copy link
Contributor

jlap commented Aug 1, 2014

The makefile usually takes care of creating the database. It uses alembic, with a command such as:

 bin/alembic -c local.ini revision --autogenerate -m "initial rev"

@tlubenov
Copy link
Author

tlubenov commented Aug 1, 2014

The makefile not works for me. So try to workaround everything in it.

@jlap
Copy link
Contributor

jlap commented Aug 1, 2014

@tlubenov
Copy link
Author

tlubenov commented Aug 1, 2014

Thank you. It works!
Where to publish the installation procedure?

@tlubenov
Copy link
Author

tlubenov commented Aug 2, 2014

Dear Jessica,
One last question. Is there a way to customize static files (js, css etc) and where to edit the source code. Using

 paster serve local.ini

not serve no one js/css/img file

@jlap
Copy link
Contributor

jlap commented Aug 4, 2014

There is no way to confugure the static files right now.

For the installation instructions, try writing them on this ticket, it'll help finding out what kind of work is needed to make the installation smoother on windows.

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

No branches or pull requests

2 participants