flaskSaaS
flaskSaaS copied to clipboard
Windows
Hello,
I am comming from Siraj's video. I would like to get this running, but I am on windows.. What would be the steps equivalant to the "make install && make dev" on windows ?
Thanks
I am in the same boat right now. I am installing make for windows following the answer on StackOverflow here
The one that says to install chocolatey and then do choco install make
I just finished installing make and will try to build the project now.
Been trying the same thing, but it didn't work
I managed to install make using that tool. However, when trying to build the source code for the project, I got another error with 'ln' not being available on Windows. 'ln' is the tool for creating symbolic links on Linux. I am looking for replacements or maybe a set of those tools tor Windows.
On Sat, Mar 30, 2019 at 4:55 PM Marc [email protected] wrote:
Been trying the same thing, but it didn't work
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alectrocute/flaskSaaS/issues/3#issuecomment-478288631, or mute the thread https://github.com/notifications/unsubscribe-auth/AQf_oVfVyoucrjK93lEN96SVueGJk8c-ks5vb88_gaJpZM4cT3RK .
stuck on same problem if you guys find solution please share
I found online that the problem is due to the script not having a shebang line with the python executable path, something like "#!/usr/bin python3" or whatever your path is. I added the line to manage.py and it indeed solved the problem. However, I got a bunch of permission errors of not having the permission level required to run the programs or write log files. I found some solutions online about simply changing permission. After trying them, I could not make any more changes to the folder without sudo. I am not sure what was different, but I simply deleted the repository and cloned it again with git clone and then did the steps in README.md. This time everything worked without me changing anything on the code or permissions.
On Wed, Apr 3, 2019 at 8:16 AM Sneh Mehta [email protected] wrote:
stuck on same problem if you guys find solution please share
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alectrocute/flaskSaaS/issues/3#issuecomment-479464030, or mute the thread https://github.com/notifications/unsubscribe-auth/AQf_oUuG5yy1QnPK8pntFbrp_CLRsrlJks5vdJuNgaJpZM4cT3RK .
Hey thanks for reply but i am confused in
cd app && ln -sf config_dev.py config.py
command what changes i need to do ?
I suggest to remove the config.py
file and add it to .gitignore
. Since the link will be created when someone run the make dev
command successfully.
Also, I think adding instructions for none-linux users would be helpful (since they dont have make on their machines). What do you think?
Hey thanks for reply but i am confused in
cd app && ln -sf config_dev.py config.py
command what changes i need to do ?
Sorry. I thought I was replying to a different thread I opened on Linux. I ended up switching to Ubuntu to run the project.
I suggest to remove the
config.py
file and add it to.gitignore
. Since the link will be created when someone run themake dev
command successfully.Also, I think adding instructions for none-linux users would be helpful (since they dont have make on their machines). What do you think?
I think instructions for each major OS would be nice to have.
Removing config.py did that not happening !!
Instructions for major os yup that would be great to have !!!
Someone with the same issue had this issue on Windows. You can find the fix here for now, until we merge a fix for windows on the repo.
Someone with the same issue had this issue on Windows. You can find the fix here for now, until we merge a fix for windows on the repo.
thanks
Just to add was getting below numpy module error while running - python manage.py initdb ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' ImportError: numpy.core.multiarray failed to import
To resolve this upgrade your numpy version to latest (worked fine with 1.6)
while running this im getting this error
make install && make dev
process_begin: CreateProcess(NULL, basename, ...) failed. cd app && ln -sf config_dev.py config.py 'ln' is not recognized as an internal or external command, operable program or batch file. make: *** [dev] Error 1
help me to solve this
@jeevasakthits
- choco install make (skip if you got already installed)
- cd into app
- copy config_dev.py config.py
- copy config_prod.py config.py
These commands resolved error for me. Its working for me.
- copy config_dev.py config.py
- copy config_prod.py config.py I used that commands and Windows gave me Exchange config.py <Yes> <No> <All> What to choose?