/
-> Single-Page application with SmartTable/swagger
-> Swagger UI with authorization
- Install current version of docker and docker compose.
- Change environment variables in
run_docker_compose.production.sh
.
HINT: App will start if you change nothing, but all the values are not secure and mailing will not work. Save those values securely, you will need them to access and run your app later. Loosing or exposing these values will be insecure and dangerous! You can create secure values withRAILS_ENV=production bundle exec rake secret
inside container. Do not forget to find a backup solution for yourTRACKER_DB_DATA_FOLDER
, otherwise complete data loss is a possibility! - Change environment variables in
.env.production
. These two values refer to how the app is reachable from internet. If they are not correctly set, features like email confirmation, password reset, etc. will not work.
It is recommended to change theDOORKEEPER_CLIENT_ID
with a generated hash value. In rails console, use the commandDoorkeeper::OAuth::Helpers::UniqueToken.generate
to generate a new and secureclient_id
. - Execute
run_docker_compose.production.sh
. If it is your first run, replacedb:migrate
withdb:setup
but do not forget to change it back later. Otherwise, app will not boot because it would destroy existing database.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle
open -a Postgres
- Initialize database with version 14 in GUI
asdf plugin add ruby
asdf plugin add nodejs
asdf plugin add yarn
asdf install
asdf reshim
gem update --system
asdf reshim
bundle install
yarn install
asdf reshim
bundle exec rails db:setup
bin/rake
bin/dev
open -a Docker
./run_ci_tests.sh
- Enable options for 'Before Commit':
- Reformat code
- Rearrange code
- Optimize Imports
- Analyze code
- Check TODO
- Cleanup
- Run
spec: Repository-Tracker
This project has been funded by the DFG.
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under the National Research Data Infrastructure – NFDI4Chem – Projektnummer 441958208 since 2020.