You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
561 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. # M-Labs.hk website source code
  2. These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. For deployment, see the nix-scripts repository. Commits to https://git.m-labs.hk/M-Labs/web2019.git are automatically deployed to m-labs.hk through Hydra.
  3. Clone the project:
  4. ```
  5. git clone https://git.m-labs.hk/M-Labs/web2019.git
  6. cd web2019
  7. ```
  8. Install Zola.
  9. Start:
  10. ```
  11. zola serve
  12. ```
  13. To update the .min.js and .jsx file:
  14. ```
  15. nix-shell -p nodejs --run "npm run build"
  16. ```