This Next.js application is behind https://console.api.taxi and https://console.dev.api.taxi.
$> make
$> make run
Use APITaxi_devel.
On OSX, Docker volumes performances are terrible. The best way to develop locally is to install npm on the host with npm install node
, then:
$> npm install
$> npm run dev
Console is available at http://localhost:5103.
On Linux, performances should be fine and working with APITaxi_devel should be fine.
To deploy to production, setup the following remote and push on the master branches.
git remote add clever-dev git+ssh://[email protected]/app_a3a512d9-fe86-449d-a448-bb4803b0c74f.git
git remote add clever-prod git+ssh://[email protected]/app_8ff05f72-5456-434b-ae0a-6083201f8061.git
To connect to containers, install CleverCloud CLI and run the following commands:
clever link app_a3a512d9-fe86-449d-a448-bb4803b0c74f
clever link app_8ff05f72-5456-434b-ae0a-6083201f8061
# Outputs "dev-console" and "prod-console"
clever applications
clever ssh -a dev-console
clever ssh -a prod-console