Crowdsourcing mobile web application to rank ideas to create policy sets using network analysis. Aperire is a latin work for "to open", which is the vision of this software - to open policy making to the public.
- node v8+
- Mysql
Download the code or use git:
git clone [email protected]:dortheimer/aperire.git
cd aperire
npm install
create a local configuration file and edit the required fields:
cp config/default.json config/local.json
vi config config/local.json
Create a Mysql database:
mysql -uusername -p
mysql> create database aperire;
Run the schema building script
node bin/init_db
Run the server using:
node bin/aperire
For production it is recommended running it with pm2 and Apache.
npm -g install pm2
pm2 start bin/aperire
Install Apache and then configure it:
sudo vi /etc/apache2/sites-available/aperire.conf
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName aperire.domain.org
ProxyRequests off
ProxyPreserveHost On
ProxyVia Full
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
ProxyPass http://localhost:3000/
ProxyPassReverse http://localhost:3000/
</Location>
</VirtualHost>
Activate the new virtual host:
sudo a2ensite aperire.conf
sudo apachectl restart
For development run it with npm and nodemon:
npm start
This is open-source software under the MIT license. I'd be glad to ge an email if you use Aperire.