-
Notifications
You must be signed in to change notification settings - Fork 0
Build deploy documentation
⚠️ There is currently no common build system in place. Current development focuses on this issue, which is tracked by #37 and #60.
-
Clone the repository via
git clone https://github.com/amosproj/amos-ss2021-project2-context-map.git
-
Install node from https://nodejs.org/en/.
It is required to install node with version 12.x or higher. -
Install
yarn
by running
npm i -g yarn
⚠️ Scripts are currently only available for the windows platform or platforms that have powershell installed
To start the project, navigate to the /build
directory within the repository clone and run each of the scripts in the following order within a separate shell instance.
1. start-database.ps1
2. start-backend-dbg.ps1
3. start-frontend-dbg.ps1
⚠️ Deployment currently is only rudimentary. There is no automatic deployment. #151 tracks the deployability to docker containers for easy setup.
- Make sure to have all the prerequisites from above
- Navigate to the
/frontend
in the project directory - Execute
yarn install
to install the dependencies - Execute
yarn build
to build the frontend project. The build output is located in thedist
folder. - To configure the frontend, add a
.env
file to the build output. An example is included in the project sources.
- Make sure to have all the prerequisites from above
- Navigate to the
/backend
in the project directory - Execute
yarn install
to install the dependencies - Execute
yarn build
to build the frontend project. The build output is located in thedist
folder. - To configure the frontend, add a
.env
file to the build output. An example is included in the project sources.