Commit Graph

13 Commits (fa4173a2d3672c9609dde82e55571734d864fd03)

Author SHA1 Message Date
penrods 490b967a32 Add security notice running Mycroft from desktops
Security researcher w00t pointed out a potential exploit if an user
starts the Mycroft messagebus service on a system with an exposed
network connection with no protection for port 8181.  For now the
start-mycroft.sh script will simply display a CAUTION to point out
this concern and remind them to protect themselves with a firewall.

Future versions of the websocket implementation will use encryption
and authentication.
2018-06-08 12:59:00 -05:00
Matthew D. Scholefield a95fba2bd4 Pass extra start-mycroft arguments to pytest 2018-05-31 19:17:45 -05:00
Matthew D. Scholefield 1205217e25 Re-add checking of dependencies when running start-mycroft.sh 2018-05-22 11:37:17 -05:00
Matthew D. Scholefield 32b14d0a0b Add skillstest to start-mycroft 2018-05-14 14:27:37 -05:00
Matthew D. Scholefield bd51eecd6a Switch test framework to pytest
Also sources the virtualenv before running tests
2018-05-14 14:27:37 -05:00
Åke Forslund 8673f9cbb9 Replace virtualenv with python3 venv
TODO msm
2018-04-27 08:56:47 -05:00
Åke Forslund ba8cfcab30 Update dev_setup.sh to install python3
This also adds the possibility to set the environment variable MYCROFT_VENV to separate the virtual env for python3 from the stable version.

Example:
export MYCROFT_VENV=mycroft-18.02
./dev_setup.sh
./start-mycroft.sh all
2018-04-27 08:50:46 -05:00
Åke Forslund c7da63c536 Fix ./start-mycroft.sh unittest
Move the nose2 commandline from the .travis.yml to the start-mycroft.sh
script and call ./start-mycroft.sh unittest from travis.
2017-12-22 03:51:58 -06:00
Rhett Aultman 35c3af1e2c Make mycroft-core.sh invocable from outside
mycroft-core.sh has a relative-path call (that itself also likes to
be called from inside mycroft-core) that prevents making a clean start
of mycroft from outside the mycroft-core directory.  This makes doing
things like adding it as a Ubuntu Unity startup application slightly
messy.
2017-10-26 19:06:11 -04:00
Steve Penrod f0086d8881 Remove "restart", auto-restart running services
Remove the "restart" option, instead all of the background services
now automatically check to see if they are already running and will
be stopped then restarted if so.

Also fixed a few Codacy complaints.
2017-09-28 01:08:20 -05:00
Steve Penrod 26559388ea Enhance help message, remove extra whitespace 2017-09-28 01:08:20 -05:00
Steve Penrod 4afa64427d Change default to 'help', add 'debug' option
The default when no parameter is entered is now to display the help.
To start services you can use 'all', or 'debug' to start them followed
but starting the CLI
2017-09-28 01:08:20 -05:00
Steve Penrod 07992b49d5 Revamping the scripts used to start/stop Mycroft
Reworking the mechanisms used to interact with Mycroft.  The old
mycroft.sh utilized the 'screen' command, but now with the CLI it
it easier to use that for viewing log files.  Plus there was
confusion between when to use start.sh and when to use mycroft.sh.

Now things are wrapped in the simple and easily discoverable scripts:
* start-mycroft.sh
* stop-mycroft.sh

The start-mycroft.sh allows you to start the background services and
to invoke the various tools (e.g. the CLI, unit tests, etc).

==== Fixed Issues ====

====  Documentation Notes ====
This will require revamp of the getting started guides, etc.
2017-09-28 01:08:20 -05:00