mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
07a2e0f9caf226b1ce7da0339c516eae809aec6b
Description
Sign up tool for University of Helsinki's software production course
Instructions
- Clone project
- Create .env file to the project root and add address to backend server (ie.
http://localhost:3001if you're running backend in port 3001)
REACT_APP_BACKEND_URI='backend server address'
- Run project
$ npm install
$ npm start
Docker instructions
For running locally
- Create file docker-compose.yml and copy content from here
- Make sure docker and docker-compose are installed, and run
docker-compose upin the same directory where you placed the docker-compose.yml file - The app should be running at localhost:7000
Running on a server
At the moment, the frontend assumes the backend is running at localhost:7001, so you need to port forward your localhost:7001 to whatever port the backend is running in on the server.
Languages
JavaScript
97.9%
CSS
1.9%
Dockerfile
0.2%