Our frontend is made using ReactJS
TODO: Write more about React and a local development environment
In order to follow these steps you need to install docker on your machine. Here are guides for installation on some common systems:
You will also need docker-compose (it is included in Docker Desktop for Mac and Windows): https://docs.docker.com/compose/install/
Once you have installed the docker-engine and docker-compose on your machine you can follow the following steps in order to set up the development environment:
- Clone git repository.
git@gitlab.login.no:tekkom/web/beehive/frontend.git - Move to the cloned repository.
cd frontend - Change to desired branch.
e.g.git checkout devorgit checkout -b <branch name>for new branch - Start the development server using docker-compose
docker-compose --profile dev up
API_URL sets the location to the public-api. It must have a schema.