#
Installation
#
Docker
#
Prerequisites
Before you can set up your Self Hosted instance of Statch, ensure that you have the following software installed on your machine:
#
Installation Steps
Follow these steps to install and run Statch using Docker:
Clone the Statch repository
git clone https://github.com/Half-Square/Statch.git
Navigate to the cloned repository
cd Statch
Create a
.env
file in the root directory with the required environment variables. You can use the provided.env.example
as a templatecp .env.example .env
Modify the
.env
file to set your desired configurations.
Start the Statch application using Docker Compose
docker-compose up -d
This command will download and build the necessary Docker images and start the Statch application in the background.
- Access Statch in your web browser
Open your web browser and navigate to your url to access the Statch web application. You should see the Statch interface, and you can begin using it.
To stop the Statch containers when you're done
docker-compose down
#
Self Hosted
#
Prerequisites
To get started with the Statch, you'll need to have the following software installed on your machine:
#
Installation
Clone the repo
git clone https://github.com/Half-Square/Statch.git
Install the dependencies for Front
cd 01_SRC cd 01_Client npm install # or yarn install
Install the dependencies for Back
cd 01_SRC cd 01_Server npm install # or yarn install
#
Build project
Build server
cd 01_SRC cd 02_Server npm run build # or yarn
Build front
cd 01_SRC cd 01_Client npm run build # or yarn
Build front into server
cd 01_SRC cd 02_Server npm run build-front # or yarn
Build both into 02_Server/dist
cd 01_SRC cd 02_Server npm run build-full # or yarn