https://github.com/digitalinteraction/ongoingness-webapp
Web application for the Ongoingness Project
https://github.com/digitalinteraction/ongoingness-webapp
Last synced: 10 months ago
JSON representation
Web application for the Ongoingness Project
- Host: GitHub
- URL: https://github.com/digitalinteraction/ongoingness-webapp
- Owner: digitalinteraction
- License: bsd-3-clause
- Created: 2019-02-19T09:47:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-04T23:17:34.000Z (about 5 years ago)
- Last Synced: 2024-04-21T08:07:17.614Z (about 2 years ago)
- Language: Vue
- Size: 1.07 MB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Ongoingness Webapp
Web application to upload images and register devices for the Ongoingness prototypes.
## Project Structure
### /src
#### /components
Individual components are found here, these present and collect data to the user.
#### /controllers
Handle user actions and interface with the store.
##### TODO
- [ ] Move `src/api.js` to be a controller.
- [ ] Set button handlers to use controllers only and move error handling and notifications there too.
#### /store
Global store for setting the state of the application, handles notifications, media, devices, user, and session
information.
## Install
```
npm install
```
## Run Locally
```
npm run serve
```
## Deploy
1. Add `dokku` as an ssh alias, see [openlab wiki](http://openlab.ncl.ac.uk/wiki) for instructions.
2. Add `dokku` as git remote:
```
git remote add dokku dokku@dig-civics.ncl.ac.uk:ongoingness-webapp
```
3. Then run
```
git push dokku master
```
## Test
1. Make sure a local version of the api is running first, you can use:
```
docker-compose up
```
2. Run: `npm run test`.