Answers.Body: <p>CP_PANEL environment variable needs to be set to the same as your current Valet URL</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-02T04:42:51.637Z
Answers.LastActivityDate: 2022-03-02T04:42:51.637Z
Answers.UserDisplayName: lopu
Body: <p>I've just tried setting up a project locally which we have deployed on a Laravel Forge server.</p>
  <p>After I ran <code>composer install</code>, <code>craft setup</code>, and then <code>craft project-config/apply</code></p>
  <p>And try visiting my <a href="https://site.test/admin" rel="nofollow noreferrer">https://site.test/admin</a> URL, setup through Valet.</p>
  <p>I just get Template not found: admin</p>
  <p>This doesn't really make sense because admin isn't a template right?</p>
  <p>Any idea what might be going on here?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-02T03:19:16.440Z
Comments.Text: Is it possible that you're using a different `cpTrigger`? Can you take a screenshot of the error?
Comments.UserDisplayName: Lindsey D
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-02T04:42:28.787Z
Comments.Text: Yes it was an incorrect url on CP_PANEL
Comments.UserDisplayName: lopu
Tags: <craft3>
Title: Template not found: admin
ThreadText: # Template not found: admin
  
  (Asked by: username_0 on 2022-03-02)
  
  I've just tried setting up a project locally which we have deployed on a Laravel Forge server.
  
  After I ran `composer install`, `craft setup`, and then `craft project-config/apply`
  
  And try visiting my <https://site.test/admin> URL, setup through Valet.
  
  I just get Template not found: admin
  
  This doesn't really make sense because admin isn't a template right?
  
  Any idea what might be going on here?
  
  **Tags:** craft3
  
  > **Comments:**
  > **username_1**: Is it possible that you're using a different `cpTrigger`? Can you take a screenshot of the error?  
  > **username_0**: Yes it was an incorrect url on CP_PANEL  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-03-02. Score: 3 | Accepted answer
  
  CP\_PANEL environment variable needs to be set to the same as your current Valet URL
  
  
  ---
  
  