Changes between Version 2 and Version 3 of Tracalpine


Ignore:
Timestamp:
04/26/25 00:22:30 (2 months ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tracalpine

    v2 v3  
    11= Trac Alpine
     2
     3Create the run.sh file for use to create the project and user admin with password
     4{{{
     5krit docker trac-alpine$ cat run.sh
     6#!/usr/bin/env bash
     7
     8# Create Trac project
     9
     10if [ -f /trac/VERSION ]; then
     11        echo "Project already exists here"
     12else
     13        echo "Creating a new project"
     14        trac-admin /trac initenv $projectname sqlite:db/trac.db
     15        trac-admin /trac permission add $user $password
     16        trac-admin /trac permission add $user TRAC_ADMIN
     17        htpasswd -cb .htpass $user $password
     18fi
     19
     20#tracd --port 8000 /trac
     21tracd --port 8000 --basic-auth="*,/trac/.htpass,realmname" /trac/
     22krit docker trac-alpine$
     23}}}
    224
    325Create Dockerfile with content in following