Skip to content

A public library used to import GUIDAP reservation module on your website ๐Ÿš€

License

Notifications You must be signed in to change notification settings

LudovicLaloux/booking.js

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

booking.js

A public library used to import GUIDAP reservation module on your website ๐Ÿš€

How to

Develop

With docker :

Note: you must have Docker and Docker-compose installed if you want to use the provided dev environment

Launch this command in your favorite terminal:

docker-compose up -d --build # download dependencies, build and host the project

Then, you can access the exposed files at http://localhost:8081/.

You can acces the container with the following command:

docker exec -it booking.js-node /bin/bash

You can restart the dev environment by restarting the Docker container :

docker restart booking.js-node

You can stop the container with the following command:

docker-compose down

Without docker :

Run the following commands:

yarn
yarn build-dev
yarn serve

Build for development :

yarn build-dev

Serve the generated content :

yarn serve

Will host with Webpack Dev Server on localhost:8080 (8081 if you are using the Docker dev environment)

Build for production :

yarn build-prod

Release in production :

Note: this process will be reviewed soon to be more simple ๐Ÿ‘

yarn build-prod
git add dist/
git cm "{new version message}"
yarn version # It will create a Git tag and update the package.json version
git push {remote} --tags
git push {remote}

About

A public library used to import GUIDAP reservation module on your website ๐Ÿš€

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.7%
  • Dockerfile 1.6%
  • Shell 0.7%