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

Local setup not working on windows #13

Open
cloo opened this issue Dec 18, 2022 · 2 comments
Open

Local setup not working on windows #13

cloo opened this issue Dec 18, 2022 · 2 comments

Comments

@cloo
Copy link

cloo commented Dec 18, 2022

Following local setup instructions multiple steps are failing.
In case it is too complex to adapt for Windows, please consider indicating that local instructions are linux-only.

221218-205442
221218-205651

@hodgesmr
Copy link
Owner

Added a note! 7eac310

@severak
Copy link

severak commented Jan 7, 2023

It's possible to install it on Windows, but you need to came up with different route how to run it.

I have Python3.8 installed on my machine (using py executable).

C:\Users\Spravce>py --version
Python 3.8.5

Then I cloned this repository from git and installed dependencies using py -m pip install -r requirements.txt.

Then I created batch file login.bat with content similar to this:

SET MASTODON_TOKEN=your-mastodon-token
SET MASTODON_BASE_URL=your-instance.example.org
SET MASTODON_USERNAME=your-username

This is substitute to .env as in windows command line variables are somewhat different.

Then I first run login.bat and then py -3 run.py. After this my disgest is rendered into render directory, so I cd render into it and then run HTTP server (using php -S localhost:80, but you can use whatever you want).

This is not some recommended method but it works for me on my Windows 7 machine.

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

3 participants