35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
# compile assets
|
|
|
|
add to webpack.mix.js: `.js('resources/assets/js/components/**/*.vue', 'public/js').vue()`
|
|
oder nur .vue()?
|
|
|
|
|
|
composer install --prefer-dist --no-interaction --no-ansi --no-dev --optimize-autoloader
|
|
npm install
|
|
export PATH=$(pwd)/node_modules/.bin:$PATH
|
|
mix --production
|
|
|
|
|
|
[webpack-cli] Error: Prevent writing to file that only differs in casing or query string from already written file.
|
|
This will lead to a race-condition and corrupted files on case-insensitive file systems.
|
|
/pixelfed/public/js/Activity.js
|
|
/pixelfed/public/js/activity.js
|
|
at checkSimilarFile (/pixelfed/node_modules/webpack/lib/Compiler.js:666:11)
|
|
at writeOut (/pixelfed/node_modules/webpack/lib/Compiler.js:848:11)
|
|
at /pixelfed/node_modules/webpack/lib/util/fs.js:242:5
|
|
at FSReqCallback.oncomplete (node:fs:189:23)
|
|
|
|
|
|
apk add php7 git npm
|
|
apk add php7-json php7-phar php7-mbstring php7-openssl php7-dom php7-simplexml php7-xmlreader php7-zip php7-fileinfo php7-curl php7-tokenizer php7-bcmath php7-intl php7-pcntl php7-sodium php7-pdo php7-posix
|
|
curl -s https://getcomposer.org/installer | php
|
|
mv composer.phar /usr/local/bin/composer
|
|
git clone https://github.com/pixelfed/pixelfed.git
|
|
cd /pixelfed
|
|
composer install --prefer-dist --no-interaction --no-ansi --no-dev --optimize-autoloader
|
|
npm install
|
|
rm -rf public/js
|
|
export PATH=$(pwd)/node_modules/.bin:$PATH
|
|
sed -i "s/.extract([/a.vue().extract([/" webpack.mix.js
|
|
mix --production
|