@yashdusing , @Ram81 , @deshraj , for issue #512 , should I go ahead and create a seperate settings.py file for production or get some of the values from environment variables. What do you guys suggest ?
Mayukh
@Mayukhdeb
@Suryansh5545 after setting the virtual env, and after following the steps I get this error
Sourabh Kondapaka
@diningPhilosopher64
@Mayukhdeb , looks like psycopg2 module is missing. Try installing it from inside the virtual env. Alternatively you can install docker and docker-compose and build the images.Most likely you wont be facing any issues with the latter approach.
_
Suryansh5545
@Suryansh5545
@Mayukhdeb please use this command
pip install psycopg2
This error is python related
May be your python modules are not properly installed
Alternatively you can also go with docker w
It's more easy than virtual env
Mayukh
@Mayukhdeb
@Suryansh5545 do I need a virtual env for the docker approach as well ?
Suryansh5545
@Suryansh5545
no
docker is a virtual env itself
you just need to enter one command
and all will be done
Kaustubh Maske Patil
@nikochiko
Yeah @Mayukhdeb installing using docker is waaaaay easier lol! :smiley:
Suryansh5545
@Suryansh5545
until you dont forgot to turn it off properly
if you do then you are in a bad situation LOL
Mayukh
@Mayukhdeb
I wanted to work on this Cloud-CV/Fabrik#391, how do I replicate this on my machine ? Need help
Mayukh
@Mayukhdeb
how do I launch fabrik if its installed using docker ?
Suryansh5545
@Suryansh5545
you can launch it with virtualenv if you dont want to launch with docker
docker doesn't effect the main files of the program so you can also use virtualenv
Kaustubh Maske Patil
@nikochiko
@Mayukhdeb According to these instructions, you need to run the command docker-compose up --build and then Fabrik will be at http://0.0.0.0:8000 @Suryansh5545 I think @Mayukhdeb has already installed Fabrik with docker!?
Suryansh5545
@Suryansh5545
i know it
he want to know that if there is a different method other than docker probably
he can use both virtualenv or docker
as the main file are not effected
Mayukh
@Mayukhdeb
do i have to do the docker compose everytime I have to launch it ?