Skip to content

Questions and bugs #125

@barart

Description

@barart

Hello,

So i tried to install it on my server, first it is possible but not as easy as it should be:

  1. There are so many deprecated modules and so many outdated modules, so the installation is full of warnings
  2. Some modules needs react (and submodules) 16 and others react (and submodules) <16 so you need to fix all the modules and dependencies to match all, also there are some modules that you need to install manually (why? i dont know)
  3. You need to change sqlite3 from dev to prod in packages.json if no you get a error that you need to install sqlite3 manually
  4. You need to remove the ie8 options in webpack.config.js (ie8 options are not longer present in uglify)

After doing all this you can run the server "normally" i explain why below

If i run in dev mode, i can access to everything (root website and /admin), if i run on production mode this dont work, if i want to see root website i got "Cannot GET /" if i try to go to /admin i got "ENOENT: no such file or directory, stat '/tracker/build/index.html'"

Now the questions:

  1. Does the npm run server (production) does not work? and i need to run this server on dev always in order to see the data or what?
  2. Do i need then have both servers running (Dev and Server)?
  3. About the installation, it says: For production version please do not forget add your own JWT keys What are that keys and where do i get them?
  4. In other thread i read that there are 3 types of database store, where do i specify wich one i want to use?
  5. In other thread i read that database restart everytime that the instance is run, how can i keep the data?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions