/senaite.com

Official SENAITE Website

Primary LanguageJavaScript

SENAITE Website

The SENAITE Website is based on the Advent - Multipurpose Landing Page template and generated by HUGO.

Please follow the Quick-Start Guide from the official HUGO website.

Development

Clone the senaite.github.io repository:

git clone git@github.com:senaite/senaite.github.io.git

Clone the senaite.com repository:

git clone git@github.com:senaite/senaite.com.git

The directory structure should look like this:

senaite
├── senaite.com
├── senaite.github.io
└── senaite.lims

Note: The senaite.com repository contains the sources which build the final website in the senaite.github.io repository.


Change to the senaite.com repository:

cd senaite.com

Run a local server on http://localhost:1313:

hugo server -D

Deployment

Change to the senaite.com repository:

cd senaite.com

Execute the deploy script:

bin/deploy

Troubleshooting

Command:

senaite.com (master*) » hugo server -D                                                                                                                                                                                              ~/develop/ridingbytes/senaite/senaite.com
Building sites … ERROR 2018/04/03 10:10:42 Failed to read data from empty/empty: Data not supported for extension ''
Total in 38 ms
Error: Error building site: logged 1 error(s)

One or more of the version controlled directories contains an file called empty. Remove it and re-run the command.


Note: This will build the website to the folder ../senaite.githup.io, which need to be the repository from https://github.com/senaite/senaite.github.io.git