Skip to content

NC3-LU/coral-project

Repository files navigation

CORAL Project installation

This will explain what to do to install and run the CORAL-Project Website locally for testing purposes

installation

install bundler first:

root > apt install bundler

then clone the repo

user > git clone <<REPO>>

then run:

user > bundler install

run test server

to test the site locally, simply run:

user > bundle exec jekyll serve

play with the website as you want by going here:

localhost:4000

done, have fun!

Troubleshooting

Please verify the bundle install or use bundle update for updates.

To stop the running server, go back to the terminal that was running the local server in the first place and hit CTRL+C

Deployment on the server is:

Although the SSH key needs to be on the server, the following commands run at the root of the project, will publish the site:

user > bundle exec jekyll build
user > cd _site/
user > rsync --delete -r . [email protected]:/var/www/coral-