Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update database folder for prod mode #464

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

Neylix
Copy link
Member

@Neylix Neylix commented Jul 20, 2022

Description

For production, we add a specific folder to store the database, by default to ~/aebot instead of app dir

Fixes #461

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

Runned a node with MIX_ENV=prod iex -S mix, ~/aebot/data folder was created and fillled with datas

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@Neylix Neylix added bug Something isn't working DB Involve database breaking change Identify a change with a breaking API labels Jul 20, 2022
@Neylix Neylix requested a review from imnik11 July 20, 2022 10:04
@Neylix Neylix changed the title Update databse folder for prod mode Update database folder for prod mode Jul 20, 2022
@Neylix Neylix closed this Jul 21, 2022
@Neylix Neylix deleted the Database-folder-problem branch July 21, 2022 07:24
@Neylix Neylix restored the Database-folder-problem branch July 21, 2022 07:26
@Neylix Neylix reopened this Jul 21, 2022
@Neylix Neylix merged commit de951af into archethic-foundation:develop Jul 21, 2022
@Neylix Neylix deleted the Database-folder-problem branch July 21, 2022 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Identify a change with a breaking API bug Something isn't working DB Involve database
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants