npm install
npm run serve
This requires modifications to the source of both CrackQ and Crackvue to add a cross origin source (CORS) and bypass CSRF restrictions when accessing the API from the locally served GUI
Fist uncomment these 3 lines: https://github.com/f0cker/crackq/blob/master/crackq/__init__.py#L29-L31
Then disable CSRF requirement by commenting out this line: https://github.com/f0cker/crackq/blob/master/crackq/__init__.py#L44
Then uncomment line 21 in main.js to include this line of code:
axios.defaults.withCredentials = true;
Also add an entry in your local hosts file to point crackq.org to the IP where the CrackQ API is running.
npm run build
When compiled the /dist directory can be copied to the root crackq directory and then follow the guide steps to rebuild the crackq containers/images
npm run test
npm run lint