Skip to content

iperevozchikov/frontend

 
 

Repository files navigation

Open360 Frontend

Build Status Coverage Status

Frontend project for Open360. Open360 is a system to create, manage and run surveys in a convenient way for both employees and employers. Please see the github.io page for more information.

Related projects

Open360 Backend

Open360 Demo

Getting started

Docker

The easiest way to run the application is running it in docker. Make sure you have Docker installed.
To build docker image run the following command from root of the project folder:

docker build -f .docker/Dockerfile -t <image_name> .

Don't forget about the dot at the end of the command.
To serve the project locally run

docker run --name <container_name> -v </path/to/config.json>:/var/www/assets/config.json -d -p <port>:80 <image_name>

Make sure </path/to/config.json> is absolute path. To read more about configuration file go to configuration guide.
The application will be served at http://localhost:<port>.

Development setup

Installation and configuration

  1. Make sure that you have Node 12 or later installed. See instructions here.
  2. Run npm install from the root of your clone of this project to install dependencies.
  3. Set up configuration in /tools/env/env.config.ts file. See more at configuration guide.

Development server

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

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.

Testing

Run npm run test to run tests.

When debugging a specific test, change describe() or it() to fdescribe() and fit() to focus execution to just that one test. This will keep the output clean and speed up execution by not running irrelevant tests.

Intellij IDEA / WebStorm

To load the project in Intellij products, simply Open the repository folder. Do not Import Project, because that will overwrite the existing configuration.

About

Open360 Frontend Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 46.5%
  • CSS 26.8%
  • HTML 26.5%
  • Other 0.2%