Lumen + AngularJS project seed with Docker
Technologies integrated in this seed project
- AngularJS (1.x)
- Docker compose
- API Blueprint
Spira has a yeoman generator at https://github.com/spira/generator-spira which is the easiest way to set up the project. To set up the project, do the following:
- Install npm.
- Ensure that you have added an authorise token from your github account. Part way through the composer install section you may get rate limited by github. See instructions here.
$ npm install -g yo
Install spira's yeoman generator:
$ npm install -g generator-spira
Navigate to a directory where you want the project to be installed and run the following command:
$ yo spira
- Follow the on screen instructions and start the generator by pressing enter. Note you may have to enter your sudo password a few times during install:
- To edit /etc/exports for NAT
- To edit /etc/hosts for host resolving
Adding Type Definitions
When adding type definitions the build process may be interrupted due to the Github API rate-limit. In the case of this happening you will need to create another Github token and allow the TSD library to access it. For more information on how to do this please see the TSD documentation.
Manual Setup Instructions
You should be able to use the yeoman generator to install this project but if you have any issues consulting the manual setup instructions may be of use.
For more information regarding docker, please see our docker notes.