We have used the package.json and .eslintrc.js files found in the template from the DIT341 Web and Mobile Development course.
The public mirror can be found here.
-
Install Mosquitto
-
Check that Users have the permissions to Modify/Write the mosquitto.conf file in the mosquitto folder.
1. Right click on the mosquitto.conf file 2. Choose Properties 3. Navigate to the Security tab 4. Click on Users, click Edit to change Permissions 5. Click on Users again 6. Select 'Modify' and 'Write'
-
Change the mosquitto.conf file by pasting in the below text into the top of the configuration file.
port 1883 listener 9001 protocol websockets log_type all
-
To run Mosquitto with the configuration file in the Windows Command Prompt
mosquitto -c mosquitto.conf
-
Clone the repository
git clone git@git.chalmers.se:courses/dit355/2020/group-3/frontend.git
-
Change into the frontend directory
cd frontend
-
Install dependencies
npm install
-
Run the frontend server
npm run serve