Skip to content

Commit

Permalink
release to prod - 2020 local elections (#254)
Browse files Browse the repository at this point in the history
* remove api
* changed build destination folder
* Update azure-pipelines.yml for Azure Pipelines
* updated backend link added local env config and cleanup up readme
* Updated angular to last version of 8
* Updated older module dependencies
* updated api and observer manual links
* update max password length
* Fix file download for download answers
* Implemented forms tab (#246)

Co-authored-by: Bogdan Vizureanu <bogdan.vizureanu@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert-Andrei Damian <damian.robert.andrei@gmail.com>
Co-authored-by: Radu Stefanescu <radu.stefanescu@code4.ro>
Co-authored-by: George Bejan <George.Bejan@cloudflight.io>
  • Loading branch information
6 people authored Oct 2, 2020
1 parent 08446ce commit 87c26da
Show file tree
Hide file tree
Showing 175 changed files with 4,051 additions and 22,666 deletions.
Binary file removed MV solutions.png
Binary file not shown.
41 changes: 14 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![GitHub contributors](https://img.shields.io/github/contributors/code4romania/monitorizare-vot-ong.svg?style=for-the-badge)](https://github.com/code4romania/monitorizare-vot-ong/graphs/contributors) [![GitHub last commit](https://img.shields.io/github/last-commit/code4romania/monitorizare-vot-ong.svg?style=for-the-badge)](https://github.com/code4romania/monitorizare-vot-ong/commits/master) [![License: MPL 2.0](https://img.shields.io/badge/license-MPL%202.0-brightgreen.svg?style=for-the-badge)](https://opensource.org/licenses/MPL-2.0)

[See the project live](http://mv-ong-test.azurewebsites.net/)
[See the project live](https://app-vmon-api-dev.azurewebsites.net)

Monitorizare Vot is a mobile app for monitoring elections by authorized observers. They can use the app in order to offer a real-time snapshot on what is going on at polling stations and they can report on any noticeable irregularities.

Expand All @@ -18,19 +18,19 @@ The app also has a web version, available for every citizen who wants to report

This project is built by amazing volunteers and you can be one of them! Here's a list of ways in [which you can contribute to this project](.github/CONTRIBUTING.md). If you want to make any change to this repository, please **make a fork first**.

Help us out by testing this project in the [staging environment](http://mv-ong-test.azurewebsites.net/). If you see something that doesn't quite work the way you expect it to, open an Issue. Make sure to describe what you _expect to happen_ and _what is actually happening_ in detail.
Help us out by testing this project in the [staging environment](https://monitorizare-vot-ong-git-develop.code4romania.vercel.app/login). If you see something that doesn't quite work the way you expect it to, open an Issue. Make sure to describe what you _expect to happen_ and _what is actually happening_ in detail.

If you would like to suggest new functionality, open an Issue and mark it as a __[Feature request]__. Please be specific about why you think this functionality will be of use. If you can, please include some visual description of what you would like the UI to look like, if you are suggesting new UI elements.
If you would like to suggest new functionality, open an Issue and mark it as a __[Feature request]__. Please be specific about why you think this functionality will be of use. If you can, please include some visual description of what you would like the UI to look like, if you are suggesting new UI elements.

Also, this is [the workflow we follow](.github/WORKFLOW.md).
Also, this is [the workflow we follow](.github/WORKFLOW.md).

## Built With

Angular 8.2.14

Typescript 3.5.3

Swagger docs for the API are available [here](https://mv-mobile-test.azurewebsites.net/swagger/index.html).
Swagger docs for the API are available [here](https://app-vmon-api-dev.azurewebsites.net/swagger/index.html).

## Repos and projects

Expand All @@ -44,45 +44,32 @@ MV related repos:

## Deployment

### Frontend app

This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.21.

#### Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
### Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. Run `ng serve --environment=qa` or `npm run start-qa` for a dev server with configs for QA. Run `ng serve --environment=prod` or `npm run start-prod` for a dev server with configs for Prod. If you also have the backend app running locally, you can run `ng serve --environment=local` or `npm run start-local` for a dev server with configs for local backend.

#### Code scaffolding
### Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class`.

#### Build
### Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

#### Running unit tests
### Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

#### Running end-to-end tests
### Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

#### Deploying to Github Pages

Run `ng github-pages:deploy` to deploy to Github Pages.

#### Further help

To get more help on the `angular-cli` use `ng --help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

#### Build instructions (Cristi)
### Staging environment

Run
- `npm install -g @angular/cli@latest`
- `npm install`
- `ng run build --prod`
- enjoy
- preview environments available automatically on each PR powered by [Vercel](https://vercel.com/). Preview environment for `develop` branch: https://monitorizare-vot-ong-git-develop.code4romania.vercel.app/login

## Feedback

Expand Down
46 changes: 0 additions & 46 deletions api/MonitorizareVot.Ong/MonitorizareVot.Ong.sln

This file was deleted.

7 changes: 0 additions & 7 deletions api/MonitorizareVot.Ong/NuGet.Config

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 87c26da

Please sign in to comment.