Skip to content
/ wittr Public
forked from jakearchibald/wittr

Silly demo app for an online course

Notifications You must be signed in to change notification settings

firedev/wittr

 
 

Repository files navigation

Wittr

This is a silly little demo app for an offline-first course.

You could run the app either using machine dependnecies, or using docker

Running using local machine

Installing

Dependencies:

Then check out the project and run:

npm install

Running

npm run serve

Using the app

You should now have the app server at localhost:8888 and the config server at localhost:8889.

You can also configure the ports:

npm run serve -- --server-port=8000 --config-server-port=8001

Running using docker

docker-compose up

Here also you should have the app server at localhost:8888 and the config server at localhost:8889.

You can configure the ports by changing them in docker-compose.yml before starting:

ports:
  # <host>:<container>
  - 8000:8888
  - 8001:8889

Troubleshooting

  • Errors while executing npm run serve.
    • The first thing to try is to upgrade to latest version of node.
    • If latest version also produces errors, try installing v4.5.0.
  • If you get any node-sass errors, try running npm rebuild node-sass --force or the remove node_modules folder and run npm install again

About

Silly demo app for an online course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • SCSS 40.6%
  • Handlebars 2.2%
  • Shell 1.3%
  • Dockerfile 0.2%