Skip to content

Commit

Permalink
added server on initiator
Browse files Browse the repository at this point in the history
  • Loading branch information
yatan committed Nov 19, 2017
1 parent 9dddc8f commit 1e8495f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ export_links_db.py --- Insertar links dels txt a la db

*****************************************************************

get_data_from_image.py --- Obtenir informació sobre la imatge desde la API Clarifai
get_data_from_image.py --- Obtenir informació sobre la imatge desde la API Clarifai
*****************************************************************

cd web/
node app.js
7 changes: 7 additions & 0 deletions initiator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ echo "4 - Exget_images_from_profile.pyportar users --> DB (export_users_db.py)"
echo "5 - Exportar links --> DB (export_links_db.py)"
echo "************************"
echo "6 - Obtenir informació de les imatges via Clarifi API (get_data_from_image.py)"
echo "************************"
echo "7 - Executar server (node app.js)"
echo "************************"
read menu

case "$menu" in
Expand All @@ -36,6 +39,10 @@ python export_links_db.py
6)
python get_data_from_image.py
;;
7)
cd web/
node app.js
;;
*) echo "Opcio incorrecta"
;;
esac

0 comments on commit 1e8495f

Please sign in to comment.