-
Notifications
You must be signed in to change notification settings - Fork 0
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
How does it work? #1
Comments
Hi @LaurentBerder, Thanks for checking it out. It's my first React based project, and in the quest to follow best practices that are scattered on the internet, I didn't pay much attention to develop it in an environment agnostic way. In short, at this moment some of the paths in the project are hard-coded for my machine, given that it's in development phase. UPLOAD_DIR = '/Users/pravj-mac/Projects/prophetly-modules/prophetly-react/uploads' Now that you have asked for this, I will be working to deliver the requirement. I'm keeping it open, and will notify when you can build it via the GitHub repo, and then I'll work on publishing it on npm and pip. |
Hi @LaurentBerder, Hope you're doing good. I've been working to deliver the installation requirement for Prophetly, by refactoring it as two different projects. prophetly-client
prophetly-server
That means, you just need to have Python installed on your system to use it, all the NPM dependencies will be included as package_data. Because of matplotlib being a dependency, it requires Python 2.7, 3.4, 3.5, or 3.6 Build from sourceI haven't published it on PyPI, but you can try from the GitHub source. Clone and create a virtual environment$ git clone git@github.com:Prophetly/prophetly-server.git
$ cd prophetly-server
$ virtualenv prophetly-server-venv
...
$ source prophetly-server-venv/bin/activate Install Python implementation of fbprophet according to your systemInstall an environment specific prophetly-server$ python setup.py install Start the Prophetly server$ prophetly-server start This should run an instance on port 9009, where you can upload a csv dataset following Prophet's requirement. It'll be helpful if you can test it out and notify any hiccups you encounter during the process. Thanks |
So far, I haven't been able to upload a csv. I'm trying with a csv called LHR-BKK2.csv, here's what I can read in the console:
|
Can you please tell me the OS you are using? I think it's happening because the package is unable to create a (upload) directory.
...
21 def get(self):
22 if not os.path.isdir(self.settings['upload_path']):
23 os.makedirs(self.settings['upload_path'])
... |
Ahh, I guess it's |
Hi @LaurentBerder, I believe it should be fixed by the commit #0874fa. It was trying to create the upload path in the place where Now it will create that directory in the current working directory. Please let me know if this works for you. |
Yes, it is a Linux OS, Ubuntu 16.04.
And the file doesn't get uploaded |
I think you're still using the same old version So you will have to clone again and repeat the process to get it working. |
Yes I am. But that's what I get whenever I
|
That's weird, it's working for me. Can you please tell me the output of following command after you do a fresh clone? git log --pretty=format:'%h' -n 1 |
|
Then I suspect you aren't installing the updated package you get after clone. You will have to run the |
I did already. However, the setup.py is apparently not updated up to 0.2.44.dev0 but |
Pardon me, can you please elaborate this?
|
Well, it seems like when I |
Unable to catch the culprit here, I'm getting the desired source code as I clone.
Why don't we just delete the entire directory and start afresh. |
I get Here's what I did:I deleted the whole Then I typed:
Now, I run into another problem:No matter if I try I did make sure that tornado was up to date: I'm on version |
Hi @LaurentBerder, First off, I'm thankful to you for helping me here.
Now, I have fixed this in the new commit #a17bddd. And you will not have to do the clone this time. I've uploaded the package at the testpypi You can install it through $ pip install --user --extra-index-url https://testpypi.python.org/pypi prophetly-server This should result in version Once you confirm its working, we will prepare for publishing it to the real PyPI. |
Thanks @pravj, that works. First of all, don't worry, I'm not getting angry, just trying to be useful. I'm actually not entirely sure I'll be using your tool, just giving you a hand in configuring it. I now work with Now, when I select my "datestamp column" and my "y column" and specify the number of days to forecast, I get the following error in the GUI: |
Awesome! Can I have the file LHR-BKK2.csv? |
hey there pravj, am interested in trying this out. I have managed to install the server and the client is running. However when i try to upload a timeseries file, nothing seems to happen. how do i get it to work? can i just put the file into the uploads directory? what format does the file need to be? |
ok i get an error message as it is tyring to load the file - TypeError: b'TimeStamp' is not JSON serializable |
NVM. i fixed it. the encoding was off. |
Hey! @kwtneoai, Glad that you've got it working. |
Hey,
I saw your comment on Prophet's project and decided to have a look.
Would you mind giving a little walkthrough in your readme file, so I know how to use your project?
Thanks
The text was updated successfully, but these errors were encountered: