Open Laurent105 opened 5 years ago
did you create the .env file ?
Of course:
ls -l
-rw-r--r-- 1 root root 2432 Apr 8 15:33 README.md
drwxr-xr-x 3 root root 4096 Apr 8 14:27 __tests__
drwxr-xr-x 1199 root root 36864 Apr 8 15:54 node_modules
-rw-r--r-- 1 root root 2829 Apr 8 15:33 npm-debug.log
-rw-r--r-- 1 root root 789884 Apr 8 15:53 package-lock.json
-rw-r--r-- 1 root root 1363 Apr 8 14:53 package.json
drwxr-xr-x 2 root root 4096 Apr 8 14:27 public
drwxr-xr-x 2 root root 4096 Apr 8 14:27 screenshots
-rw-r--r-- 1 root root 464 Apr 8 15:31 setup.env
drwxr-xr-x 4 root root 4096 Apr 8 14:27 src
Content of setup.env
# MacOS: /Users/your_user_name/InstaPy
# you can also check this information when running your quickstart.py,
'# the first lines contains
# -> Workspace in use: "/Users/converge/InstaPy"
INSTAPY_FOLDER=/home/ubuntu/InstaPy
# if using only on localhost, keep it:
ALLOWED_HOSTS=http://localhost:3000 http://localhost:3000
REACT_APP_API_ENTRY_POINT=http://localhost:3001
# basic setup, ok to keep it ->
# Node port
NODE_PORT=3001
# ReactJS Create APP port
PORT=3000
I've tried replacing localhost with public IP. And JFI 3000 and 3001 ports are opened in firewall.
the file name should be .env
, your file name is actually setup.env
Thanks for help, that fixed. Maybe a good idea to give that file a name or put ".env" in brackets in the readme? It's not intuitive.
Now I will try to fix problem in InstaPy blocking AWS server from responding any requests. While it is working, I cannot load the InstaPy-dashboard or SSH connect to the server itself.
Thanks for your work!
Hi there!
Really want to start Dashboard on InstaPy. Following instructions, I receive the following error. FYI, working on Lightsail AWS.
And the log:
Thanks in advance for help!