No description
  • HTML 56.5%
  • SCSS 26.2%
  • JavaScript 16.7%
  • Dockerfile 0.6%
Find a file
canoeets bbf1d83a05
MAJ site (#97)
* Update index.html

* modif test

* test encore

* ok

* ok

* Add files via upload

Co-authored-by: SonOfLope <jonathanlopez@hotmail.ca>
2022-03-09 14:53:51 -05:00
.github/workflows gh workflow setup (#95) 2022-02-08 19:33:55 -05:00
app MAJ site (#97) 2022-03-09 14:53:51 -05:00
config doc(README): Deploy instructions 2016-03-07 06:32:58 -05:00
.babelrc Add scaffolded files 2016-02-02 14:30:49 -05:00
.bowerrc Add scaffolded files 2016-02-02 14:30:49 -05:00
.editorconfig Add scaffolded files 2016-02-02 14:30:49 -05:00
.gitattributes Add scaffolded files 2016-02-02 14:30:49 -05:00
.gitignore feat(config): env config 2016-03-06 23:12:47 -05:00
bower.json feat(index): lazy loading members 2016-04-25 19:33:00 -04:00
docker-compose.yml Utilise l'image de nginx 2019-07-11 20:08:28 -04:00
Dockerfile Utilise l'image de nginx 2019-07-11 20:08:28 -04:00
gulpfile.babel.js correction unhandled error and syntax error 2017-11-14 17:05:05 -05:00
package-lock.json Ran npm audit fix, added npm run start command to serve prod website 2019-07-10 00:32:27 -04:00
package.json Ran npm audit fix, added npm run start command to serve prod website 2019-07-10 00:32:27 -04:00
README.md gh workflow setup (#95) 2022-02-08 19:33:55 -05:00
server.js feat(server): More logging and better message 2016-04-27 21:20:18 -04:00
test.js fix(test): Changes comments 2016-05-04 18:15:20 -04:00

canoe-beton

To Start Working

  • Make sure Node is installed

  • Install bower and gulp npm install -g bower gulp

  • Clone the repo

  • Run npm install at the root directory of the project

  • Run bower install at the root directory of the project

Available gulp Tasks

  • gulp build run all tasks and package the site in the dist folder
  • gulp serve open the app in your browser and make it refresh automatically on file saves
  • gulp lint (included in build task) check your source for errors (mainly for javascript)
  • gulp clean clean the dist and temp folder
  • gulp serve:dist same as serve task, but with the files in the dist folder
  • gulp wiredep inject bower components

Using docker-compose

To launch the website in a "production" environment, simply use docker-compose up

Deployment

  • Make sure forever is installed
npm install -g forever
  • Copy the config.skel as config.prod.js in the config folder
cp config/config.skel config/config.prod.js
  • Modify the config.prod.js with production configuration
  • Build the application
gulp build
  • Start the application as a daemon
NODE_ENV=prod forever server.js

Aide pour la modification du site canoe-beton

(sans Git commands)

Mettre à jour votre Fork

  • Pour s'assurer que votre repository est à jour, supprimez la et appuyez sur Fork dans la repository source

    1. Cliquer sur Settings Image en aide

    2. Supprimer la repository en cliquant sur Delete this repository Image en aide

    3. Dans ClubCedille/canoe-beton appuyer sur Fork Image en aide

Modifier l'image du background

  • Changer le path de l'image dans la section intro du fichier style.scss qui se trouve dans app/styles/style.scss
    • le path à modifier est dans la ligne background: url(../images/nouvelleImage.jpg) no-repeat center;

Ajouter un membre

  • Il suffit d'ajouter ce code HTML dans la Section : Team du fichier index.html

    • Il faut un maximum de 4 memebre entre le tag <div class="row">
    • Ne pas oublier de changer le path pour la photo
 <div class="col-xs-6 col-sm-6 col-md-3">
     <div class="wow bounceInUp" data-wow-delay="0.5s">
       <div class="team boxed-grey">
         <div class="inner">
           <h5>Nom du membre</h5>
           <div class="avatar"><img data-src="images/pathDuDossierPhotos.jpg" alt=""
                                    class="img-responsive img-circle"/></div>
           <p class="subtitle">Post</p>
         </div>
       </div>
     </div>
 </div>

Ajouter une compétition

  • Ajouter ce code HTML dans la Section : Competition du fichier index.html
<br>
<div class="container">
  <div class="row">
    <div class="col-xs-12 col-lg-4">
      <p><b>Type de compétition:</b> à modifier</p>
      <p><b>Lieu de compétition:</b> à modifier</p>
      <p><b>Placement:</b> à modifier</p>
    </div>
    <div class="col-xs-12 col-sm-12 col-lg-8">
    <img data-src="images/pathImageCompetition.png" alt=""
         class="img-responsive "/>
    </div>
  </div>
</div>

Ajouter un sponsor

  • Ajouter ce code HTML dans la Section : sponsors du fichier index.html
    • Il faut que les sponsors soient entre le tag <div class="row"> pour être sur la même ligne
<div class="col-xs-6 col-sm-3 col-md-3">
     <div class="wow bounceInUp" data-wow-delay="0.2s">
       <div class="team boxed-grey">
         <div class="inner">
           <div><img data-src="images/sponsors/image.jpg" alt="" class="img-responsive"/></div>
         </div>
       </div>
     </div>
</div>
  • Ajouter ce code HTML dans la Section : gallery du fichier index.htmlpour inserer une photo
    • Juste après la ligne <div class="carousel-inner" role="listbox">
<div class="item active">
       <img data-src="images/PathImage.jpg" alt="img1" class="img-responsive">
</div>