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

adds and option on startup to move to a different subfolder #484

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

gureckis
Copy link
Member

currently the Heroku set up requires all the files to be in the top level folder. however some times it would be convenient to have multiple experiments in a single github folder and to swap between them. this adds an option (None by default) to let you configure this. the tip to use it would be, on Heroku, to change the heroku_app.py file so that you pass a directory to exp.launch(). For example, if your experiment was in ./exp1 then exp.launch("./exp1"). the config.txt should be placed inside exp1 folder in this instance as well as static, templates and the custom.py file.

@coveralls
Copy link

coveralls commented Mar 26, 2021

Coverage Status

Coverage decreased (-0.04%) to 59.891% when pulling d781d4f on run_from_subfolder_heroku into d81d353 on master.

@gureckis gureckis merged commit 9eb49c4 into master Mar 26, 2021
@gureckis
Copy link
Member Author

I just verified this minor change works from this branch to run from a subfolder... so let 'er rip (and be ignored by most people)

@gureckis gureckis deleted the run_from_subfolder_heroku branch March 29, 2021 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants