![]() For installing Doubtfire-web dependencies we have to clone project and change working directory to web $ git clone Once you've installed using either the install script or the manual install steps, use the following command to run the api $ bundle exec rails sĬontinue below steps to manually install doubtfire-web on Mac OS. This step is optional unless you wish to generate PDF submissions. Install LaTeX now $ brew cask install mactexįollow the Generating PDFs guide to assist with installing LaTeX to generate PDFs. You can choose to populate the database with some fake test data using: $ bundle exec rake db:populate Whilst still in the Doubtfire API project root, execute: $ bundle exec rake db:create $ bundle install -without production replica staging Then install Doubtfire API dependencies using bundler: $ gem install bundler -v 1.17.3 Set up overcommit and install hooks: $ gem install overcommit -v 0.47.0 If you are a developer for the project, it is usually better to create a fork for the repository and then follow the steps given below. $ brew link -force will also need to install the Python pygments package: $ sudo easy_install Pygments Install imagemagick at version 6, libmagic and ghostscript using Homebrew: $ brew install libmagic ghostscript ffmpeg Install the Postgres App: $ brew cask install postgres -appdir=/ApplicationsĮnsure pg_config is on the PATH, and then login to Postgres: $ export PATH=/Applications/Postgres.app/Contents/Versions/*/bin: $PATHĬreate the Doubfire user the following at the Postgres prompt: CREATE ROLE itig WITH CREATEDB PASSWORD 'd872$dh' LOGIN Now install Ruby v2.3.8: $ rbenv install 2.3.8Ĭlone project and change your working directory to the api: $ git clone įor switching the Ruby version to 2.3.8 use the following command: $ rbenv local 2.3.8 zshrc: $ echo 'eval "$(rbenv init -)"' > ~/.zshrc Or, if you're using Oh-My-Zsh, add to your. bashrc: $ echo 'eval "$(rbenv init -)"' > ~/.bashrc Install rbenv and ruby-build: $ brew install ruby ruby-build rbenvĪdd the following to your. Install Homebrew for easy package management, if you haven't already, as well as Homebrew Cask: $ /usr/bin/ruby -e " $(curl -fsSL )" Once you have all of these steps complete you should be setup and ready to using Doubtfire. Done.To get Doubtfire installed on macOS, follow the steps below: After setting the directories return to the main installation screen R and the start the installation with I. After you change the first directory, all the other will be moved accordingly. Just type 1 and enter the directory where you want to install texlive, e.g. Note: ~ will expand to $HOME (or to %USERPROFILE% on Windows) TEXMFCONFIG: ~/.texlive2012/texmf-config TEXMFSYSCONFIG: /usr/local/texlive/2012/texmf-config TEXMFSYSVAR: /usr/local/texlive/2012/texmf-var TEXMFLOCAL: /usr/local/texlive/texmf-local ![]() Support tree: /usr/local/texlive/2012/texmf !! Either change the destination directory using or create it ![]() !! The default location as given below is forbidden or To do this, just type d and press enter, you'll be prompted with this second screen: = The most interesting part is, you need to move all the directories starting with /usr in a convenient place in your home folder. allow execution of restricted list of programs via \write18 use letter size instead of A4 by default TEXMFHOME (directory for user-specific files): TEXMFCONFIG (personal directory for local config): TEXMFVAR (personal directory for variable and automatically generated data): TEXMFSYSCONFIG (directory for local config): TEXMFSYSVAR (directory for variable and automatically generated data): TEXMFLOCAL (directory for site-wide local files): !! is not writable, please select a different one! !! default location: /usr/local/texlive/2012 install-tlĤ) you'll be prompted with this screen => TeX Live installation procedure Note: Letters/digits in indicate menu items for commands or configurable options Ĩ4 collections out of 85, disk space required: 3739 MB Since installing MacTeX without root access requires some non trivial cutomizations, I sugget you to install TeXLive instead, with this easy method (I'll add a tutorial for MacTex when I have more time):Ģ) extract the tar archive with your preferred softwareģ) run the install script with. ![]() According to this tutorial it should be possible, you just need to manually install files in your home directory: intalling TeXLive without root access ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |