Frontend (EmberJS) Setup & Backend (Junction + Tribe API)
Use tribe-framework Git template for your frontend application.
Open command line in the directory that has been installed from the template:
# Navigate to your frontend
directory
cd
/path/to/frontend/directory
Install EmberJS by running the following command based on your operating system. You'll be asked to enter the name of the directory when prompted:
chmod +x
./config/ember/ember-init.sh;
bash
./config/ember/ember-init.sh;
powershell
-ExecutionPolicy
Bypass -File
.\config\ember\ember-init.ps1
Serve the EmberJS application to start coding:
ember s
Your EmberJS frontend will be available at:
When you're ready to deploy, build your application for production:
ember build -prod
The production-ready build will
be generated in the
dist/
directory.
Deploy your built application to your preferred hosting platform:
dist/
folder or
Git-based continuous deployment.
docker
--version
winget list
docker
brew list |
grep
docker
which
docker
docker-compose
--version
docker compose
version
which
docker-compose
Open your terminal/command prompt and navigate to the directory containing this index.html file and your docker-compose.yml:
# Replace
/path/to/your/project with
your actual project
path
cd
/path/to/your/project
cd
C:\Users\YourName\Documents\MyProject
cd
~/Documents/MyProject
docker-compose.yml
file before running the next
commands.
Once you're in the correct directory, start your Docker application:
docker-compose up -d
--build
up
- Starts the
containers
-d
- Runs in
detached mode (in
background)
--build
-
Rebuilds images before
starting
Alternative command for newer Docker versions:
docker compose up -d
--build
Once your backend is running, you can access Junction through your web browser:
Use the following credentials to log in:
When you want to stop and remove the containers, use:
docker-compose down
Alternative command for newer Docker versions:
docker compose down
docker-compose down
to properly stop and clean up your
containers. This ensures all
resources are properly released.
docker-compose
logs
- View application logs
docker-compose ps
- List running containers
docker-compose
restart
- Restart services
Serve:
ember s
Access Frontend:
localhost:4200
Build:
ember build -prod
Start:
docker-compose up -d
--build
Access Junction:
localhost:4488
Stop:
docker-compose down
Tribe is a web project management framework that allows us to build platforms, products, applications and web interfaces using a modular approach. It provides a coherent language for UX, content, design and code collaborations.