BASENAME
of a project is given solely by its *.sch
or *.brd
, whichever exists and is found first! The BASENAME
is not given by the parent directory! There might be more than one project per directory!
project/*.[sch|brd]
exists in the index, the index should not include project/brd/boardhouse/*.[sch|brd]
files which usually are similar copies of the parent project files.
BASENAME-multi.brd
files which usually are similar copies of the parent project files for PCB manufacturing.
*.sch
and *.brd
files are index, not their entire string content.
doc/latex/BASENAME-documentation.pdf
, parallel to the indexed BASENAME.[brd|sch]
files
BASENAME
can be sanitized/normalized: BASENAME
fully sanitised
BASENAME
sanitised, retaining parentheses
BASENAME
sanitised, retaining periods
BASENAME
sanitised, retaining parentheses and periods
BASENAME
sanitised, retaining parentheses, periods and umlauts
BASENAME
with whitespace sanitisation only
doc/latex
as well as doc/
itself
doc/preview
, parallel to the indexed BASENAME.[brd|sch]
files
BASENAME-boardbottom.png
and BASENAME-boardtop.png
BASENAME-sheetPAGENUMBER.png
BASENAME.sheetPAGENUMBER.png
which should also be supported (if both formats exist, use hyphenated version)
PAGENUMBER
is always in a range between 1 and 255 and increases in a continuous sequence. That means, stop searching when no more sheet can be found.
libssl-dev
, build-essential
rbenv
using rbenv-installer in /opt/rbenv
(installed as root, just move ~/.rbenv
)
gem
config to /root/.gemrc
bundler
gem
passenger_ruby
with path of Ruby 2.1.2 installed above (/opt/rbenv/shims/ruby
) in /etc/nginx/nginx.conf
server
config to /etc/nginx/sites-available/e-portal
(symlinked to sites-enabled, removed default
site) listen
, server_name
, root
and enables passenger
passenger_user
and passenger_group
to eportal
(verify user switching works!)
eportal
/home/eportal/.bashrc
setting RBENV_ROOT
to /opt/rbenv
(make sure ~/.bash_profile
doesn't exist!)
eportal
group
/srv/e-portal
bundle install --deployment --without development test
bundle exec rake secret
and export it as SECRET_KEY_BASE
in /home/eportal/.bashrc
RAILS_ENV=production bundle exec rake assets:precompile
APPROOT/public/projects
pointing to /mnt/data/eagleprojects
/etc/cron.daily/e-portal
dpkg-reconfigure sysv-rc
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
![]() |
2014-08-20_05.42.20_pm.png | manage | 127 K | 20 Aug 2014 - 15:56 | UnknownUser | Screenshot of design mockup (search results) |
![]() |
EAGLEVorschaubilder.png | manage | 27 K | 22 Jul 2014 - 09:14 | UnknownUser |