Skip to content

How to setup a local workspace to start checking the code and build it to test #656

Answered by marcelklehr
jlmanohar asked this question in Q&A
Discussion options

You must be logged in to vote

Really cool! I'm glad you're interested to dabble with this repo!

You'll need

  • php >=7.4 (Nextcloud will require 8.0 starting with v26)
  • node >=14
  • npm >=8
  • composer >= 2

To get started:

  1. Clone this repo
  2. Run npm install to install js dependencies
  3. Run composer install to install php dependencies
  4. npm run build (or during development npm run watch) builds the settings UI based on vue.js
  5. You can manually run the classifier scripts using node src/classifier_*.js <filepath>
  6. If you put the whole repo at nextcloud/apps/recognize, you can enable the app in the UI and run it in nextcloud

Feel free to ask questions here in the forum or in the matrix chatroom whenever you're stuck. I may take some tim…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jlmanohar
Comment options

@jlmanohar
Comment options

Answer selected by jlmanohar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants