Skip to content

installation steps #2

Closed
Closed

Description

@Kanchangk

Hi,

The repository looks promising and suffice my requirements, it seems.
But I am not sure how to install it in local machine (windows) or in a VPS (linux).

It would be very helpful if you can provide a step by step guide to install and run it.

Thanks.

Activity

  1. 7aklhz commented on Aug 1, 2022

    @7aklhz
    Contributor

    Hi

    Thanks for your interest in the project. I haven't maintained the code for a while so I cannot promise if everything still works.

    You can actually more or less deduct the steps needed by looking at the captain file: https://github.com/Eleven-Trading/TradeNote/blob/main/captain-definition

    Plese beware that you also need a Parse.com instance running as well as a PHP server with the different functions I've put in the files.

    I have a much cleaner and more developed version but I haven't open sourced it. as mentioned in the readme, I'l consider doing so if I see there is enough interest around this project.

  2. agrieco commented on Aug 1, 2022

    @agrieco

    Hi

    Thanks for your interest in the project. I haven't maintained the code for a while so I cannot promise if everything still works.

    You can actually more or less deduct the steps needed by looking at the captain file: https://github.com/Eleven-Trading/TradeNote/blob/main/captain-definition

    Plese beware that you also need a Parse.com instance running as well as a PHP server with the different functions I've put in the files.

    I have a much cleaner and more developed version but I haven't open sourced it. as mentioned in the readme, I'l consider doing so if I see there is enough interest around this project.

    I'd love to see this and at least explore it. I'm still seeking a solution in this space...

  3. 7aklhz commented on Aug 1, 2022

    @7aklhz
    Contributor

    Ok, if I get 20 likes on this post, I'll create a custom group amongst which I'll do one of 2 things:

    • Share the code
    • Or give access to my instance where people can at least try the platform

    So, as I understand, @Kanchangk and @agrieco, you would be interested ?

    So don't hesitate to share along.

    PS : can you tell me why you are interested in this project ? is it because it's open source / free ? Because of the privacy ? Because you can run it ? because of the UX ? etc....

  4. agrieco commented on Aug 1, 2022

    @agrieco

    For me, 'Why' is (in this order): Free, Privacy, extensibility (because it is OSS).

  5. Kanchangk commented on Aug 1, 2022

    @Kanchangk
    Author

    @7aklhz Thanks for prompt response and considering to share your project.
    I actually like to host things on my own because of the privacy and the flexibility it provides. and honestly, I also liked the simplicity of the UI of your project.

  6. 7aklhz commented on Aug 1, 2022

    @7aklhz
    Contributor

    Thanks.
    And the current version I use I find actually even better UI with dark mode, mobile friendly and no server (no PHP functions, just Parse.com). I'm glad to share but need to see there's some traction before I dedicate more time sharing in Github (cause it requires for me to adapt somewhat the code).

  7. Kanchangk commented on Aug 1, 2022

    @Kanchangk
    Author

    I am sure it will attract more and more people once they are actually able to use it. I mean, even I would have simply skipped the repo as I was not able figure out how to use it, but I decided to open a thread as I genuinely liked the project and wanted to take the chance of getting a reply :)

  8. 7aklhz commented on Aug 1, 2022

    @7aklhz
    Contributor

    I'm sure your right. Will see if I have time to reopen the GitHub.

  9. 7aklhz commented on Aug 8, 2022

    @7aklhz
    Contributor

    @Kanchangk, @agrieco : you've motivated me to reactivate the project ;). I'm about to push the new version. However, are you willing to help me out and test the step by step process and give me feedback ? I've never installed the project from zero so I want to make sure the explanation is clear and that I'm not missing an important step/issue and see what errors come up.

  10. agrieco commented on Aug 8, 2022

    @agrieco

    @Kanchangk, @agrieco : you've motivated me to reactivate the project ;). I'm about to push the new version. However, are you willing to help me out and test the step by step process and give me feedback ? I've never installed the project from zero so I want to make sure the explanation is clear and that I'm not missing an important step/issue and see what errors come up.

    Yep- as long as we're not installing on Windows.

    I'd love to see a docker install method. Im happy to work with you on translating what you have into a docker install.

  11. 7aklhz commented on Aug 8, 2022

    @7aklhz
    Contributor

    @Kanchangk, @agrieco : you've motivated me to reactivate the project ;). I'm about to push the new version. However, are you willing to help me out and test the step by step process and give me feedback ? I've never installed the project from zero so I want to make sure the explanation is clear and that I'm not missing an important step/issue and see what errors come up.

    Yep- as long as we're not installing on Windows.

    I'd love to see a docker install method. Im happy to work with you on translating what you have into a docker install.

    Well, it so happens, I did a docker build installation option ;) Happy to optimize it if possible: I wanted to create an image with env variables. However, as I'm not using any server, the only option seems to use the NGIX conf file. But that seemed a little bit complicated. Once I push, have a look and tell me if there is a solution to create and image and let people inject the variables as env variables

  12. 7aklhz commented on Aug 9, 2022

    @7aklhz
    Contributor

    Ok, I just commited the last version. It includes steps for building the project. It would be great if you could let me know your thoughts and check for errors

  13. agrieco commented on Aug 10, 2022

    @agrieco

    Sounds good. I've been battling parse install. will follow up. apparently latest parse dashboard install has a known error ;-( parse-community/parse-dashboard#2196

  14. 7aklhz commented on Aug 10, 2022

    @7aklhz
    Contributor

    Sorry to hear that. I'm using Caprover to install Parse and it worked well.

  15. barretthugh commented on Aug 10, 2022

    @barretthugh
    Contributor

    Sounds good. I've been battling parse install. will follow up. apparently latest parse dashboard install has a known error ;-( parse-community/parse-dashboard#2196

    The new alpha version has fix this issue

  16. 13 remaining items

  17. barretthugh commented on Aug 12, 2022

    @barretthugh
    Contributor

    @barretthugh : I just pushed a new repo with an example csv file of trades (with both short and long positions) (PS : do not bother with cash journal in your case).

    Concerning the error, can you add the following columns to the trades Class and tell me if the error message disappears ?

    • ACL - type ACL

    • user - type Pointer

    • date - type Date

    • dateUnix - type Number

    • executions - type Array

    • trades - type Array

    • blotter - type Object

    • pAndL - type Object

    Thanks, will get back to u

  18. barretthugh commented on Aug 12, 2022

    @barretthugh
    Contributor

    @7aklhz it shows the following error when I upload the example csv

    Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'split')
    at addTradesMixin.js:85:77
    at new Promise ()
    at Vue.createJournal (addTradesMixin.js:67:20)
    at addTradesMixin.js:60:28
    (anonymous) @ addTradesMixin.js:85
    createJournal @ addTradesMixin.js:67
    (anonymous) @ addTradesMixin.js:60
    Promise.then (async)
    importCashJournals @ addTradesMixin.js:53

  19. 7aklhz commented on Aug 13, 2022

    @7aklhz
    Contributor

    @barretthugh this error is related to cash journal I mentioned. There are 3 steps in uploading trades :

    1. Upload cash journal. In tradezero, cash journal are costs related to the platform (platform fee, cash withdrawal fee, etc.) and short locate fee
    2. Upload trades. These are your actual trades. Note: for the moment you can only upload intraday trades, no swing trades
    3. Upload
      So, in your case, click "next" to skip the first step and then add the example csv

    For your information, I have a Discord for TradeNote we can use for quicker / easier chat : https://discord.gg/VTf3JGk7

  20. electricar commented on Aug 13, 2022

    @electricar

    @barretthugh:
    have you managed to install TradeNote on the raspberry pi?
    If yes, can you please send me a bit more detailed installation instructions?
    Thank you very much in advance!

  21. barretthugh commented on Aug 13, 2022

    @barretthugh
    Contributor

    @barretthugh: have you managed to install TradeNote on the raspberry pi? If yes, can you please send me a bit more detailed installation instructions? Thank you very much in advance!

    still working on that, will share the docker files once finished

  22. agrieco commented on Aug 14, 2022

    @agrieco

    I was able to follow the instructions and get things up and running here. Excited to see what using it is like ! ;-)
    There is a lot of work to help simplify the installation that would be useful for slightly more novice users. I'll take a look and see what I can contribute down this path.

  23. electricar commented on Aug 17, 2022

    @electricar

    I was able to follow the instructions and get things up and running here. Excited to see what using it is like ! ;-) There is a lot of work to help simplify the installation that would be useful for slightly more novice users. I'll take a look and see what I can contribute down this path.

    That would be awesome! I am quite struggling to get it to work on my raspberry pi4.
    Do you by any chance can send screenshots of the content of the "calendar, journal, setups..." tabs?
    I cannot find any information about the content of these tabs on the github.

  24. 7aklhz commented on Aug 17, 2022

    @7aklhz
    Contributor

    @electricar : fyi, I did not upload screenshots of these pages as they contain my personal notes and images ;)
    Concerning pi installation, I think people get it working by installing Parse via Docker on pi. Can you try that ?

  25. electricar commented on Aug 17, 2022

    @electricar

    @electricar : fyi, I did not upload screenshots of these pages as they contain my personal notes and images ;) Concerning pi installation, I think people get it working by installing Parse via Docker on pi. Can you try that ?

    Yes I know, that's why I was asking here. Maybe someone has a test installation or not so much information yet :)
    I will try it with docker next.

  26. 7aklhz commented on Aug 17, 2022

    @7aklhz
    Contributor

    I will try it with docker next.
    @electricar : Let me know if it works so I can put it as a working solution in Readme

  27. barretthugh commented on Aug 18, 2022

    @barretthugh
    Contributor

    I will try it with docker next.
    @electricar : Let me know if it works so I can put it as a working solution in Readme

    here is my temp solution

    1. build the tradenote image via given dockerfile (on pi or remove server)
    2. run mongodb, parse server, tradenote via docker compose file (on pi or remove server)
    3. run addclass.sh to add classes (on pi or remove server)
    4. register user via http://server:7777/register
    5. run a standalone parse-dashboard on local computer via docker compose file
    6. add columns and data to _User via parse dashboard ( I can't log in if do this via a script, it looks like I have to do this manually iva dashboard)
    7. clean browser session and cache, login
    8. repeat step 7 if login failed

    I tested on my pi4, I will pr the files if these steps is ok for you(not too complicated)

    btw, I think the best way is you do this via code( add classes, columns, accounts data)

  28. 7aklhz commented on Aug 18, 2022

    @7aklhz
    Contributor

    @barretthugh Great. Can you share with us your adclasses.sh file ?

  29. 7aklhz commented on Aug 19, 2022

    @7aklhz
    Contributor

    I will close this for now. You can contact us via Discord here : https://discord.gg/VTf3JGk7

  30. 7aklhz commented on Aug 19, 2022

    @7aklhz
    Contributor

    @Kanchangk @agrieco @barretthugh @electricar : Were you able to install TradeNote and use it ? What do you think ? It would be great to get some feedback to see if what I should improve and see see if people are really using TradeNote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions