Backbone for personal projects.
Note: If using npm, use npm ci
command over npm install
when running
automated environments such as test platforms, continuous integration, and
deployment. The command is useful for any time you wish to do a clean install
of your dependencies. See here for more: https://docs.npmjs.com/cli/ci
- copy the .env.example as .env
- update any values that need to be changed
DB_HOST
,DB_PASSWORD
,REDIS_HOST
,REDIS_PASSWORD
, and any variables below the Docker section heading that need to be updated for your project MUST be updated before your first docker up; a rebuild will be required if they are updated after
-
docker-compose up -d
- the first time this is run on a machine, it will build your docker
containers and bring your environment up
- the build will take some time, so go grab something to eat / drink
- any time after will start up the environment
- the first time this is run on a machine, it will build your docker
containers and bring your environment up
- build your app
- profit