Welcome to the SEP Project repository! This guide will walk you through setting up the project on your local machine.
Before proceeding with the setup, ensure the following requirements are met:
- Operating System:
- Windows: Required for running the
add-host.batscript. - Linux/Unix: Required for running the
start-sep.shscript.
- Windows: Required for running the
- Administrator/Root Privileges:
- On Windows: Needed to modify the
hostsfile viaadd-host.bat. - On Linux/Unix: Needed to edit
/etc/hosts.
- On Windows: Needed to modify the
- Bash Shell:
- Required for running
start-sep.sh. - On Windows, you can use Git Bash, Windows Subsystem for Linux (WSL), or a similar tool.
- Required for running
- PostgreSQL:
- Ensure PostgreSQL (and any other required services) is installed locally or configured correctly.
- Docker (optional):
- Required if you plan to run services using Docker Compose.
You need to add specific entries to your system's hosts file to resolve local domains.
- Run
add-host.batas Administrator:- Navigate to the project directory containing
add-host.bat. - Right-click the file and select "Run as Administrator".
- The script will append the following entries to your
C:\Windows\System32\drivers\etc\hostsfile:
- Navigate to the project directory containing
127.0.0.1 identity.sep.local
127.0.0.1 registry.sep.localIf you’re on a Linux or Unix-based system, you need to manually add these entries to /etc/hosts:
echo "127.0.0.1 identity.sep.local" | sudo tee -a /etc/hosts
echo "127.0.0.1 registry.sep.local" | sudo tee -a /etc/hosts- Run
start-sep.shscript:- Open a terminal.
- Navigate to the directory containing the
start-sep.shscript. - Run script.
./start-sep.sh- For Windows, the
start-sep.shscript will not work directly since it's a Bash script. Instead, you can either:- Use a Bash shell like Git Bash or Windows Subsystem for Linux (WSL), then follow the instructions above.
- Alternatively, if the services are dockerized, you can use Docker Compose (ensure Docker is installed on your machine) to start the services.