These instructions will get you a copy of the project up and running on your local staging and production machines and you will find some additional information about the setup of the website.
git clone git@github.com:conan-io/website.git
Built using:
- Bootstrap 4.0.0
- Slick Slider
Base folder src/
- css/ (custom css)
- img/ (images)
- js/ (scripts)
- scss/
- html files
- All the source files are located in
src/folder, any update to the website should be done in this folder. - To install the dependencies do:
$ npm install - Run
gulp init- this will create all the necessary static files. - To view the website, just open
./index.htmlwith your browser. - It is recommended to use a server with live reload, for example: VSCode Live Server
- After any change you do to any
HTML,SCSS, orJSfile in thesrc/folder, you can run$ gulpto test the changes. - If you want to use watch and let the gulp tasks run automatically, run
gulp watchAll. Please note that the watch task will not run on addition new files (or deletion of files). - Any new images will be added to
src/img. After an image has been added, run$ gulp imagesTask - Do not push any of the files generated by
gulporgulp imagesTaskto the GitHub repo. They are generated by a CI's pipeline when the changes are merged to the repository branch. - After the push to the
developbranch the website by CI's pipeline is deployed to the development, test and QA environments. - After the push to the
stagingbranch the website by CI's pipeline is deployed to staging environment. - After the push to the
masterbranch the website by CI's pipeline is deployed to production environment.