This is a basic template for small projects, or any non-CMS/WordPress projects. The folder stucture is similar to our WordPress theme. It uses Gulp to compile assets.
- Clone this into webdev2
git clone git@git.isobar.ie:isobar/basic-template.git
- Run
npm install
- Create the folder bower_components
mkdir bower_components
- If you need a DB, go to Setting DB
- Build something and then run
gulp
If you want to access to your project, you need to set vhost up.
- Copy the example file basic-template.conf.example into /home/name_user/vhosts/
cp basic-template.conf.example ../../vhosts/basic-template.conf
- Edit the file and change name_user for your user name folder
- Restart apache
sudo systemctl restart apache2
- Go to your favorite browser and write basic-template.name_user/ (don't forget the
/
)
If you need to setting a DB up, following the next steps. But if you need to setting a WordPress up, go to https://git.isobar.ie/lucidity/wordpress4 for more information.
building in the future...