(windows)
- Install Docker.
- Install NPM.
- Clone this repo into the docker folder
C:/docker/
) as a new folderwedeo.me
so the project paht isC:/docker/wedeo.me/
. - Open CMD.
- Run
cd c:/docker/wedeo.me/web/
- Run
npm install
to load the the dependencies. - Run
npm run css
to generate the css from tailwind. - Run
cd ../
- Run
docker-compose up -d
to start your local server with php and nginx. - Enjoy your local version of wedeo.me at http://localhost:8080/!
- phpMyAdmin is installed at http://localhost:8081/.
- The data for the database is in
C:/docker/wedeo.me/db/
- Import them over phpMyAdmin.
- You have to create a user and add a database to it.
- Rename or copy the
C:/docker/wedeo.me/config/wedeome_git.ini
file intoC:/docker/wedeo.me/config/wedeome.ini
. - When you use a diffrent user name or database name, you have to adjust this settings in
C:/docker/wedeo.me/config/wedeome.ini
.
(debian)
Get git
apt update
apt -y upgrade
apt -y install git
Get base tools
apt -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common \
nodejs \
npm
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
Get docker
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
apt update
apt -y install docker-ce
Get Docker compose
curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
SSH Key generate
ssh-keygen -b 2048 -t rsa -f ~/.ssh/id_rsa -q -N ""
Copy the public Key and add it to github
cat ~/.ssh/id_rsa.pub
Clone Repository
mkdir /var/docker
cd /var/docker
git clone git@github.com:Silinator/wedeo.me.git
cd wedeo.me
Startup docker with docker-compose
docker-compose up --build -d
Go to step 5 of "wedeo.me web"