Skip to content

Сообщество сотрудников и преподавателей КПИ

License

Notifications You must be signed in to change notification settings

kpi-ua/intellect.kpi.ua

Repository files navigation

intellect.kpi.ua

PRs Welcome Docker Image Version (latest by date)

Spearheaded by Igor Sikorsky Kyiv Polytechnic Institute, this project unites a diverse group of university professionals, including scientists, teachers, engineers, and post-graduate students. The project is centered around fundamental and applied research, practical implementation of results, and educational activities.

Run & debug

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Docker

Build

docker build ./ --file ./Dockerfile --tag intellect.kpi.ua:test

Run

docker run --rm -it -p 3000:3000 intellect.kpi.ua:test

Debug

Build the Docker image for development

docker build -f debug.dockerfile -t intellect.kpi.ua:debug .

Run the Docker container with volume mapping for live updates

docker run --rm -it -p 3000:3000 -v $(pwd):/usr/src/app -v /usr/src/app/node_modules intellect.kpi.ua:debug

Now you can open website locally at http://localhost:3000/