forked from M-Labs/web2019
Egor Savkin
ddd49b71af
Signed-off-by: Egor Savkin <es@m-labs.hk> |
||
---|---|---|
content | ||
sass/css | ||
server | ||
static | ||
templates | ||
.gitignore | ||
README.md | ||
Website design specs.docx | ||
config.toml | ||
package-lock.json | ||
package.json | ||
webpack.config.js |
README.md
M-Labs.hk website source code
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.
Clone the project:
git clone https://git.m-labs.hk/M-Labs/web2019.git
cd web2019
Install Zola.
Start:
zola serve
To update the .min.js, .bundle.js and .jsx file:
nix-shell -p nodejs --run "npm run build"
nix-shell -p nodejs --run "npx webpack"