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

upsun project:init does not detect multiple directories #142

Open
tylers-username opened this issue Aug 25, 2023 · 0 comments
Open

upsun project:init does not detect multiple directories #142

tylers-username opened this issue Aug 25, 2023 · 0 comments

Comments

@tylers-username
Copy link

Not sure if this is expected behavior or not, so I'll report here:

Steps to reproduce

  1. Download Upsun vendorized binary for macos
  2. Copy it to project directory
    • Directory structure:
      # tree -L 2
      ├── backend #flask backend
      │   ├── app
      │   ├── main.py
      │   └── requirements.txt
      ├── frontend # React frontend
      │   ├── README.md
      │   ├── node_modules
      │   ├── package-lock.json
      │   ├── package.json
      │   ├── public
      │   ├── src
      │   ├── tailwind.config.js
      │   └── tsconfig.json
      ├── readme.md
      └── upsun # Upsun Binary
      
  3. Launch: upsun project:init from project root (not within frontend or backend)
    • Select redis-persistent as a service to add
  4. Review created files:
    image
    • .environment
    • .upsun/config.yaml

Expected

  • .environment to be in each app's directory
  • .upsun/config.yaml to include both frontend and backend app

Actual

  • .environment is in the root of the repository
  • .upsun/config.yaml does not include the frontend app
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

No branches or pull requests

1 participant