# Access development ENV

**URL:** <https://community.forestadmin.com/t/access-development-env/6164>\
**Category:** Help me!\
**Created:** [April 7, 2023, 11:57am UTC](https://community.forestadmin.com/t/access-development-env/6164 "2023-04-07T11:57:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VTR\_BTRT](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/vtr_btrt/32/5987_2.png) [@VTR\_BTRT](https://community.forestadmin.com/u/VTR_BTRT)\
**Post date:** [April 7, 2023, 11:57am UTC](https://community.forestadmin.com/t/access-development-env/6164/1 "2023-04-07T11:57:09Z")

</div>

I set up my project with using `forest init`

But for some reasons I can’t see the env in my options :

 ![Capture d’écran 2023-04-07 à 12.30.11](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/0/0b1bb15f66a9e711b6e8b138bf3554874fe58769.png)

You can see the set up in the env, section :

 ![Capture d’écran 2023-04-07 à 13.50.06](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/d/df34a159cb2c785b8b14b34c4a2f4d952ac5eaa1.png)

I think it’s related to the fact that I need to deploy it but it won’t let me do it due to security reasons :

 ![Capture d’écran 2023-04-07 à 13.51.35](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/1/1607f17c0ae2e056f40d0da6261f98c357030d51.png)

Would be nice to know if I’m missing something

thanks 🙂

- Project name: Docent Art
- Team name: Art Team
- Environment name: Development environment
- Agent (forest package) name & version: forest-cli/3.2.3 darwin-x64 node-v19.8.1
- Database type: postgres

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [April 7, 2023, 12:37pm UTC](https://community.forestadmin.com/t/access-development-env/6164/2 "2023-04-07T12:37:50Z")

</div>

Hi @VTR_BTRT 👋 welcome to our community.  
When you run forest init, it creates a **new development environment** for you.  
As you can see on the UI your environment is in `Draft` mode.  
I agree with you, the wording is not optimal.  
To make it work, simply run(npm start) your project locally with the given FOREST\_ENV\_SECRET.  
Let me know if that help 🙏

---

<div class="post-metadata">

**Author:** ![VTR\_BTRT](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/vtr_btrt/32/5987_2.png) [@VTR\_BTRT](https://community.forestadmin.com/u/VTR_BTRT)\
**Post date:** [April 7, 2023, 2:30pm UTC](https://community.forestadmin.com/t/access-development-env/6164/3 "2023-04-07T14:30:52Z")

</div>

Thanks for your quick reply!

In a way yes, I can open the interface trough the `npm start FOREST_ENV_SECRET`

But when I stop the command and try to open it trough the panel and my docker I have this problem now :

 ![Capture d’écran 2023-04-07 à 16.26.04](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/9/9740332c48bdd3b0de53b73d1604e4bc6bcd11ba.png)

resulting in this log :

 ![Capture d’écran 2023-04-07 à 16.27.57](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/3017596421d14c052922739fa251c661fbb41ab7.png)

Not sure if it’s still related tot he issue, but would appreciate your help!

Thanks again

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [April 7, 2023, 2:49pm UTC](https://community.forestadmin.com/t/access-development-env/6164/4 "2023-04-07T14:49:01Z")

</div>

Ok so what I understand, you try to run you development agent from a docker container?  
How do you run this container?  
Have you setup the FOREST\_ENV\_SECRET env var inside an .env file or something like that?  
The container should be aware of this env variable. let me know.

---

<div class="post-metadata">

**Author:** ![VTR\_BTRT](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/vtr_btrt/32/5987_2.png) [@VTR\_BTRT](https://community.forestadmin.com/u/VTR_BTRT)\
**Post date:** [April 11, 2023, 9:22am UTC](https://community.forestadmin.com/t/access-development-env/6164/5 "2023-04-11T09:22:10Z")

</div>

Sorry @Arnaud_Moncel did not see your reply,

Indeed it was a .env issue 🙂 I changed my FOREST\_ENV\_SECRET in the .env of the docker and then created a branch in local based on my production environment.

Everything seems to be set up now!

Have a good day and thanks for your help
