This repo contains the source code for https://libreshop.eu

Adem Aytaç cd72f65680 x200 price updated 2 months ago
script cc401809d5 download script added 3 months ago
src cd72f65680 x200 price updated 2 months ago
.gitignore cc401809d5 download script added 3 months ago
LICENSE 1815d4c46e Initial commit 4 months ago
README.md b74d553b17 jquery added to readme licenses 3 months ago
package-lock.json 98d23d42f4 rss and blog page added 2 months ago
package.json f2d210d162 variables logic added 2 months ago

README.md

libreshop-static

This repo contains the source code for libreshop.eu

The code is licensed under GPLv3.0

Install

git clone git@git.aytacworld.com:aytacworld/libreshop-static.git
cd libreshop-static
npm i

Build

npm run predeploy

Specific build scripts:

  • Compile all files: npm run compile
  • Compile pug files: npm run compile:pug
  • Compile sass files: npm run compile:sass
  • Copy assets: npm run copy:assets
  • Download files: npm run download

Watch

To watch over files, while developing and running.

npm run dev

This will run predeploy then start watching pug files for changes

this command is the same as npm run dev:pug

There is one caveat, when creating a new pug file, you need to stop and rerun this script, so the newly created file is also watched

Specific watch scripts:

  • Watch pug files: npm run dev:pug
  • Watch sass files: npm run dev:sass

Run

This will start an http server.

npm start

After running the command, you can browse to http://127.0.0.1:8080/

Test

No tests exists for this project, yet.

Deploy

Create .environment.sh file and overwrite DOMAIN.

npm run deploy

This script will build dist folder and move it to the hosting server using ssh and scp commands

License

GPL v3.0

Third-party

Developments tools