DEPRECATED - This repo contains the source code for libreshop.eu https://adem.ayt.ac/p/2020-05-18_closing_libreshop
|
8 months ago | |
---|---|---|
script | 1 year ago | |
src | 8 months ago | |
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
package-lock.json | 9 months ago | |
package.json | 9 months ago |
This repo contains the source code for libreshop.eu
The code is licensed under GPLv3.0
git clone git@git.aytacworld.com:aytacworld/libreshop-static.git
cd libreshop-static
npm i
npm run predeploy
Specific build scripts:
npm run compile
npm run compile:pug
npm run compile:sass
npm run copy:assets
npm run download
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:
npm run dev:pug
npm run dev:sass
This will start an http server.
npm start
After running the command, you can browse to http://127.0.0.1:8080/
No tests exists for this project, yet.
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