- 复旦大学金融科技与数据智能实验室
- Install Docker on your computer.
- Run
./.docker/run.sh. - Wait for Docker to build a sandbox with all the languages and packages the template needs. Should take ~2 min the first time and be almost instant on subsequent runs.
- Wait for Docker to start the preview. You should shortly get a
localhostlink that you can open in your browser to see your site preview. - When you make a change to a file in your repo folder, your preview should refresh/update automatically, except for changes to
_config.yamlwhich require you to manually refresh. - When you make a change to your sources or metasources, the cite process should automatically re-run, and when finished be reflected in your preview via the same behavior as above.
-
Build site:
- Install Ruby v3.3.4 (Recommand using rvm).
- Install Bundler by running
gem install bundler. - Install needed Ruby packages by running
bundle install. - Re-run the previous command if you ever add new plugins.
- Start the site by running bundle exec
jekyll serve --open-url --livereload --trace. - Re-run the previous command if you make changes to _config.yaml.
-
Run cite process:
- Install Python 3 (with PIP).
- Install virtual environment for Python
pip install virtualenv. - Create and enter the virtual environment
virtualenv fintech && source fintech/bin/activate. - Install needed Python packages by running
python -m pip install --upgrade --requirement ./_cite/requirements.txt. - Generate citations by running
python ./_cite/cite.py. - Re-run the previous command when you make changes to your input sources and metasources.
Visit fintech.fduvis.net 🚀
Built with Lab Website Template