Warning
This is the last release of typademic. This software will not be continued. The functionality of typademic was integrated into <https://github.com/maehr/academic-pandoc-template> directly via GitHub actions in a more convenient and secure way.
Typademic turns distraction freely written markdown files into beautiful PDFs. Built with love, Google Fonts, Pandoc, and LaTeX.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Install all this to use all functions of typademic.
Mac with Homebrew
brew install python openssl mactex pandoc pandoc-citeproc wget
wget https://raw.githubusercontent.com/qrpike/Web-Font-Load/master/install.sh | bash
sudo apt-get update -y
sudo apt-get install -y texlive-full wget
wget https://raw.githubusercontent.com/qrpike/Web-Font-Load/master/install.sh | bash
wget -O pandoc.deb https://github.com/jgm/pandoc/releases/download/2.11.0.4/pandoc-2.11.0.4-1-amd64.deb
sudo dpkg -i pandoc.deb
pip install --upgrade pip
virtualenv venv
source venv/bin/activate
pip install .
python app.py
pip install tox
tox
- Install Docker CE.
- Export your secrets and start the latest typademic docker image.
touch logs/error.log
touch logs/access.log
export SECRET_KEY=SOMESECRETKEY
docker run --name typademic \
-p 443:8000 \
-e "SECRET_KEY=${SECRET_KEY}" \
-v "./logs/error.log:/logs/error.log" \
-v "./logs/access.log:/logs/access.log" \
-v "./uploads/:/uploads/" \
maehr/typademic:latest
- Go to https://localhost/ (If you did not add valid SSL certificates, ignore the error message.)
- Add your custom SSL certificates (
key.pem
andcrt.pem
) to the root directory. Otherwise private certificates will be issued. - Create a
secrets.env
and add your env vars.
cp secrets.example.env secrets.env
nano secrets.env
- Change
docker-compose.yml
accordingly.
# uncomment this line for production use
# env_file: ./secrets.env
# comment this line for production use
environment:
- SECRET_KEY=${SECRET_KEY}
- Start typademic and go to https://localhost/
docker-compose up
- Bulma.io
- CircleCI
- Cookiecutter
- Docker CE
- Flask
- Flask-Dropzone
- Flask-WTF
- Google Fonts
- LaTeX
- Pandoc
- Web-Font-Loader
Please read CONTRIBUTING.rst for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
Please read AUTHORS.rst for details on the authors. See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.rst file for details