Wake me up is a collaborative interface to make audio sample aquisition and validation. Datas are collected anonymously, and can be used to feed audio corpus, and train language models.
cd your/project/folder
git clone git@github.com:linto-ai/linto-wakemeup.git
cd wake-me-up/webserver && npm i
cd ../vue_app && npm i
Once you've downloaded the source code, go to your wake-me-up/vue_app folder and setup environment variables to make it work with your development and/or production environment.
There are 2 files to update :
- wake-me-up/vue_app/.env.development
VUE_APP_URL=http://localhost:3003
VUE_APP_WAKEWORD=your_wake_word
Set VUE_APP_URL to make it match with your development environment
- wake-me-up/vue_app/.env.production
VUE_APP_URL=https://wakemeup.linto.ai
VUE_APP_WAKEWORD=linto
Set VUE_APP_URL to make it match with your production environment
You will have to create the .env file that will be used to setup the the interface configuration. Make a copy of the .envdefault file to create your .env file
cd wake-me-up/webmserver
cp .envdefault .env
Once you have created your .env file, set the environment variables to match with your working environment.
# Webserver
NODE_ENV=production
HTTP_PORT=3003
# WAKEWORD
WAKEWORD=LinTO
cd wake-me-up/vue_app
npm run buil-dev
cd wake-me-up/vue_app
npm run buil-app
cd wake-me-up/webserver
npm run start-dev
cd wake-me-up/webserver
npm run start
Your application should be running on the port you've setted up (exemple: http://localhost:3003)
If you want to run your application with the Docker image, follow the previous instructions. Instead of setting up the /webserver/.env file, you will have to setup the /.docker_env file.
cd wake-me-up
Edit the /.docker_env file. (cf. "2/ Back-end settings")
Once you've setted up the .docker_env file, lauch the project with the following command
cd wake-me-up
docker-compose up --build
Your application should be running on the port you've setted up