Synthesis Image Noise Detection on Distributed Data : A web app to collect data on noise detection by humans on images. https://diran.univ-littoral.fr/doc
Jérôme BUISINE 0fd81d2c7f Fix merge conflicts | 5 gadi atpakaļ | |
---|---|---|
api | 5 gadi atpakaļ | |
public | 5 gadi atpakaļ | |
src | 5 gadi atpakaļ | |
.dockerignore | 5 gadi atpakaļ | |
.editorconfig | 5 gadi atpakaļ | |
.eslintrc.js | 5 gadi atpakaļ | |
.gitignore | 5 gadi atpakaļ | |
Dockerfile_back | 5 gadi atpakaļ | |
Dockerfile_front | 5 gadi atpakaļ | |
LICENSE | 5 gadi atpakaļ | |
Makefile | 5 gadi atpakaļ | |
README.md | 5 gadi atpakaļ | |
babel.config.js | 5 gadi atpakaļ | |
config.js | 5 gadi atpakaļ | |
docker-compose.yml | 5 gadi atpakaļ | |
package.json | 5 gadi atpakaļ | |
yarn.lock | 5 gadi atpakaļ |
Travaux développés par Antoine dans le cadre de son stage de DUT2.
# TODO
# docker-compose -f docker-compose.yml up backapp
# TODO
#docker-compose -f docker-compose.yml up backapp
Install project's dependencies.
yarn install
If this is a production build, set the NODE_ENV
environment variable to production
to enhance performance.
On Linux hosts :
export NODE_ENV=production
On Windows hosts :
SET NODE_ENV=production
Configure the project by modifying config.js.
Option | Default value | Description |
---|---|---|
apiPrefix | /api |
The url prefix for the API |
serverPort | 5000 |
The port used by the server |
imagesPath | images |
The directory where the images are stored |
serveClient | true |
Should the server serve client files from the /dist directory |
yarn run api:start
yarn run api:dev
yarn run api:lint
Files will be built to the dist/
directory.
yarn run app:build
yarn run app:dev
yarn run app:lint